mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +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 = [
|
||||
]
|
||||
|
||||
_library_dirs = [
|
||||
]
|
||||
|
||||
_include_dirs = [
|
||||
'./libtorrent',
|
||||
'./libtorrent/include',
|
||||
|
@ -138,7 +141,8 @@ _libraries = [
|
|||
|
||||
if windows_check():
|
||||
_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 += [
|
||||
'ssleay32MT',
|
||||
'libeay32MT',
|
||||
|
@ -165,6 +169,7 @@ if not windows_check():
|
|||
libtorrent = Extension(
|
||||
'libtorrent',
|
||||
include_dirs = _include_dirs,
|
||||
library_dirs = _library_dirs,
|
||||
libraries = _libraries,
|
||||
extra_compile_args = _extra_compile_args,
|
||||
extra_link_args = _extra_link_args,
|
||||
|
|
Loading…
Add table
Reference in a new issue