mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 23:18:40 +00:00
Windows build system fixes
This commit is contained in:
parent
7d10b60811
commit
b5fdadc2aa
1 changed files with 17 additions and 17 deletions
4
setup.py
4
setup.py
|
@ -155,7 +155,7 @@ else:
|
||||||
'z'
|
'z'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if not windows_check():
|
||||||
dynamic_lib_extension = ".so"
|
dynamic_lib_extension = ".so"
|
||||||
if osx_check():
|
if osx_check():
|
||||||
dynamic_lib_extension = ".dylib"
|
dynamic_lib_extension = ".dylib"
|
||||||
|
@ -189,7 +189,7 @@ for source in _sources:
|
||||||
break
|
break
|
||||||
|
|
||||||
_ext_modules = []
|
_ext_modules = []
|
||||||
if not os.path.exists(os.path.join(sysconfig.get_config_var("LIBDIR"), "libtorrent-rasterbar.so.1")):
|
if windows_check() or not os.path.exists(os.path.join(sysconfig.get_config_var("LIBDIR"), "libtorrent-rasterbar.so.1")):
|
||||||
# There isn't a system libtorrent library, so let's build the one included with deluge
|
# There isn't a system libtorrent library, so let's build the one included with deluge
|
||||||
libtorrent = Extension(
|
libtorrent = Extension(
|
||||||
'libtorrent',
|
'libtorrent',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue