mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 07:58:38 +00:00
forgot z has to be zlib in windows
This commit is contained in:
parent
586543917a
commit
d40387ada9
1 changed files with 6 additions and 3 deletions
9
setup.py
9
setup.py
|
@ -135,15 +135,15 @@ _libraries = [
|
||||||
'boost_date_time',
|
'boost_date_time',
|
||||||
'boost_thread',
|
'boost_thread',
|
||||||
'boost_python',
|
'boost_python',
|
||||||
'z',
|
|
||||||
'pthread',
|
'pthread',
|
||||||
]
|
]
|
||||||
|
|
||||||
if windows_check():
|
if windows_check():
|
||||||
_extra_link_args += ['-L./win32/lib']
|
_extra_link_args += ['-L./win32/lib']
|
||||||
_include_dirs += ['./win32/include', 'C:/Program Files/boost/boost_1_34_1']
|
_include_dirs += ['./win32/include/zlib', 'C:/Program Files/boost/boost_1_34_1']
|
||||||
_library_dirs += ['C:/Program Files/boost/boost_1_34_1/lib']
|
_library_dirs += ['C:/Program Files/boost/boost_1_34_1/lib']
|
||||||
_libraries += [
|
_libraries += [
|
||||||
|
'zlib',
|
||||||
'ssleay32MT',
|
'ssleay32MT',
|
||||||
'libeay32MT',
|
'libeay32MT',
|
||||||
'advapi32',
|
'advapi32',
|
||||||
|
@ -153,7 +153,10 @@ if windows_check():
|
||||||
]
|
]
|
||||||
else:
|
else:
|
||||||
_include_dirs += ['/usr/include/python' + python_version]
|
_include_dirs += ['/usr/include/python' + python_version]
|
||||||
_libraries += ['ssl']
|
_libraries += [
|
||||||
|
'ssl',
|
||||||
|
'z'
|
||||||
|
]
|
||||||
|
|
||||||
_sources = glob.glob("./libtorrent/src/*.cpp") + \
|
_sources = glob.glob("./libtorrent/src/*.cpp") + \
|
||||||
glob.glob("./libtorrent/src/kademlia/*.cpp") + \
|
glob.glob("./libtorrent/src/kademlia/*.cpp") + \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue