Modify setup.py to allow building without libtorrent/

This commit is contained in:
Andrew Resch 2009-10-08 02:51:49 +00:00
parent 3a90109724
commit 3c69822761
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ except ImportError:
else:
build_libtorrent = False
if build_libtorrent:
if build_libtorrent and os.path.exists("libtorrent"):
# There isn't a system libtorrent library, so let's build the one included with deluge
libtorrent = Extension(
'libtorrent',