mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
remove file.cpp in win
This commit is contained in:
parent
d40387ada9
commit
f005a5d869
1 changed files with 6 additions and 1 deletions
7
setup.py
7
setup.py
|
@ -163,7 +163,12 @@ _sources = glob.glob("./libtorrent/src/*.cpp") + \
|
|||
glob.glob("./libtorrent/bindings/python/src/*.cpp")
|
||||
|
||||
# Remove file_win.cpp if not on windows
|
||||
if not windows_check():
|
||||
if windows_check():
|
||||
for source in _sources:
|
||||
if "file.cpp" in source:
|
||||
_sources.remove(source)
|
||||
break
|
||||
else:
|
||||
for source in _sources:
|
||||
if "file_win.cpp" in source:
|
||||
_sources.remove(source)
|
||||
|
|
Loading…
Add table
Reference in a new issue