mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-06 12:27:46 +03:00
add an additional check to ensure that the libtorrent folder has files in it
This commit is contained in:
parent
b5533a22bc
commit
1790a1cf2d
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -213,7 +213,7 @@ except ImportError:
|
|||
else:
|
||||
build_libtorrent = False
|
||||
|
||||
if build_libtorrent and os.path.exists("libtorrent"):
|
||||
if build_libtorrent and os.path.exists("libtorrent") and os.listdir("libtorrent"):
|
||||
# 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