diff --git a/DEPENDS b/DEPENDS index 1f9d05344..9292e1496 100644 --- a/DEPENDS +++ b/DEPENDS @@ -8,13 +8,7 @@ * gettext * pyxdg * geoip-database (optional) - - * libtorrent >= 0.14, or build the included version - - * If building included libtorrent:: - * boost >= 1.34.1 - * openssl - * zlib + * libtorrent >= 0.14.5 === UIs === * chardet diff --git a/setup.py b/setup.py index f691fe7d8..7e24f3989 100644 --- a/setup.py +++ b/setup.py @@ -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',