mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +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'
|
||||
]
|
||||
|
||||
|
||||
if not windows_check():
|
||||
dynamic_lib_extension = ".so"
|
||||
if osx_check():
|
||||
dynamic_lib_extension = ".dylib"
|
||||
|
@ -189,7 +189,7 @@ for source in _sources:
|
|||
break
|
||||
|
||||
_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
|
||||
libtorrent = Extension(
|
||||
'libtorrent',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue