mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 18:08:39 +00:00
add proper boost path for windows
This commit is contained in:
parent
684c3098d9
commit
586543917a
1 changed files with 6 additions and 1 deletions
7
setup.py
7
setup.py
|
@ -121,6 +121,9 @@ if not windows_check():
|
||||||
_extra_link_args = [
|
_extra_link_args = [
|
||||||
]
|
]
|
||||||
|
|
||||||
|
_library_dirs = [
|
||||||
|
]
|
||||||
|
|
||||||
_include_dirs = [
|
_include_dirs = [
|
||||||
'./libtorrent',
|
'./libtorrent',
|
||||||
'./libtorrent/include',
|
'./libtorrent/include',
|
||||||
|
@ -138,7 +141,8 @@ _libraries = [
|
||||||
|
|
||||||
if windows_check():
|
if windows_check():
|
||||||
_extra_link_args += ['-L./win32/lib']
|
_extra_link_args += ['-L./win32/lib']
|
||||||
_include_dirs += ['./win32/include']
|
_include_dirs += ['./win32/include', 'C:/Program Files/boost/boost_1_34_1']
|
||||||
|
_library_dirs += ['C:/Program Files/boost/boost_1_34_1/lib']
|
||||||
_libraries += [
|
_libraries += [
|
||||||
'ssleay32MT',
|
'ssleay32MT',
|
||||||
'libeay32MT',
|
'libeay32MT',
|
||||||
|
@ -165,6 +169,7 @@ if not windows_check():
|
||||||
libtorrent = Extension(
|
libtorrent = Extension(
|
||||||
'libtorrent',
|
'libtorrent',
|
||||||
include_dirs = _include_dirs,
|
include_dirs = _include_dirs,
|
||||||
|
library_dirs = _library_dirs,
|
||||||
libraries = _libraries,
|
libraries = _libraries,
|
||||||
extra_compile_args = _extra_compile_args,
|
extra_compile_args = _extra_compile_args,
|
||||||
extra_link_args = _extra_link_args,
|
extra_link_args = _extra_link_args,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue