f7facd5b09
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>
21 lines
663 B
Makefile
21 lines
663 B
Makefile
################################################################################
|
|
#
|
|
# libtorrent
|
|
#
|
|
################################################################################
|
|
|
|
LIBTORRENT_VERSION = 0.13.6
|
|
LIBTORRENT_SITE = http://rtorrent.net/downloads
|
|
LIBTORRENT_DEPENDENCIES = host-pkgconf zlib \
|
|
$(if $(BR2_PACKAGE_OPENSSL),openssl)
|
|
LIBTORRENT_CONF_OPTS = --enable-aligned \
|
|
--disable-instrumentation \
|
|
--with-zlib=$(STAGING_DIR)/usr \
|
|
$(if $(BR2_PACKAGE_OPENSSL),--enable-openssl,--disable-openssl)
|
|
LIBTORRENT_INSTALL_STAGING = YES
|
|
LIBTORRENT_AUTORECONF = YES
|
|
LIBTORRENT_LICENSE = GPLv2
|
|
LIBTORRENT_LICENSE_FILES = COPYING
|
|
|
|
$(eval $(autotools-package))
|