summaryrefslogtreecommitdiffstats
path: root/package/libtorrent/libtorrent.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-10-04 22:04:37 -0300
committerPeter Korsgaard <peter@korsgaard.com>2015-10-05 08:29:25 +0200
commitf7facd5b091e1110cdb584130e4378a9eebcf652 (patch)
treec919e9e41fcf4ebe7a990a48d085d60da6467632 /package/libtorrent/libtorrent.mk
parentf904fd9f1d97d63504610cb75b3b041e12f24b5f (diff)
downloadbuildroot-f7facd5b091e1110cdb584130e4378a9eebcf652.tar.gz
buildroot-f7facd5b091e1110cdb584130e4378a9eebcf652.zip
libtorrent: zlib is mandatory
zlib isn't optional even though it seems like it, fixes build failure such as: log.cc:51:18: fatal error: zlib.h: No such file or directory Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libtorrent/libtorrent.mk')
-rw-r--r--package/libtorrent/libtorrent.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/package/libtorrent/libtorrent.mk b/package/libtorrent/libtorrent.mk
index 633b86a869..ef1c75f039 100644
--- a/package/libtorrent/libtorrent.mk
+++ b/package/libtorrent/libtorrent.mk
@@ -6,13 +6,12 @@
LIBTORRENT_VERSION = 0.13.6
LIBTORRENT_SITE = http://rtorrent.net/downloads
-LIBTORRENT_DEPENDENCIES = host-pkgconf \
- $(if $(BR2_PACKAGE_OPENSSL),openssl) \
- $(if $(BR2_PACKAGE_ZLIB),zlib)
+LIBTORRENT_DEPENDENCIES = host-pkgconf zlib \
+ $(if $(BR2_PACKAGE_OPENSSL),openssl)
LIBTORRENT_CONF_OPTS = --enable-aligned \
--disable-instrumentation \
- $(if $(BR2_PACKAGE_OPENSSL),--enable-openssl,--disable-openssl) \
- $(if $(BR2_PACKAGE_ZLIB),--with-zlib=$(STAGING_DIR)/usr,--without-zlib)
+ --with-zlib=$(STAGING_DIR)/usr \
+ $(if $(BR2_PACKAGE_OPENSSL),--enable-openssl,--disable-openssl)
LIBTORRENT_INSTALL_STAGING = YES
LIBTORRENT_AUTORECONF = YES
LIBTORRENT_LICENSE = GPLv2
OpenPOWER on IntegriCloud