summaryrefslogtreecommitdiffstats
path: root/ftp-libs/rb-libtorrent/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'ftp-libs/rb-libtorrent/DEPENDS')
-rwxr-xr-xftp-libs/rb-libtorrent/DEPENDS7
1 files changed, 6 insertions, 1 deletions
diff --git a/ftp-libs/rb-libtorrent/DEPENDS b/ftp-libs/rb-libtorrent/DEPENDS
index 719091147a..223a481421 100755
--- a/ftp-libs/rb-libtorrent/DEPENDS
+++ b/ftp-libs/rb-libtorrent/DEPENDS
@@ -4,4 +4,9 @@ sub_depends boost THREAD &&
sub_depends boost FILESYSTEM &&
sub_depends boost DATE_TIME &&
sub_depends boost REGEX &&
-sub_depends boost PROGRAM_OPTIONS
+sub_depends boost PROGRAM_OPTIONS &&
+
+if list_find "$RB_LIBTORRENT_OPTS" "--enable-python-binding"
+then
+ sub_depends boost PYTHON
+fi