package/libtorrent-rasterbar: openssl is optional, not mandatory
openssl is optional, not mandatory, since the addition of the package in
commit 0393f5d344
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
e124a4d1c0
commit
1d79789247
@ -18,7 +18,6 @@ config BR2_PACKAGE_LIBTORRENT_RASTERBAR
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
|
||||
select BR2_PACKAGE_BOOST
|
||||
select BR2_PACKAGE_BOOST_SYSTEM
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
libtorrent is a feature complete C++ bittorrent implementation
|
||||
focusing on efficiency and scalability.
|
||||
|
@ -11,7 +11,7 @@ LIBTORRENT_RASTERBAR_LICENSE = BSD-3-Clause
|
||||
LIBTORRENT_RASTERBAR_LICENSE_FILES = COPYING
|
||||
LIBTORRENT_RASTERBAR_CPE_ID_VENDOR = libtorrent
|
||||
LIBTORRENT_RASTERBAR_CPE_ID_PRODUCT = libtorrent
|
||||
LIBTORRENT_RASTERBAR_DEPENDENCIES = host-pkgconf boost openssl
|
||||
LIBTORRENT_RASTERBAR_DEPENDENCIES = host-pkgconf boost
|
||||
LIBTORRENT_RASTERBAR_INSTALL_STAGING = YES
|
||||
LIBTORRENT_RASTERBAR_CONF_OPTS = \
|
||||
--with-boost-libdir=$(STAGING_DIR)/usr/lib \
|
||||
@ -37,4 +37,11 @@ else
|
||||
LIBTORRENT_RASTERBAR_CONF_OPTS += --without-libiconv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBTORRENT_RASTERBAR_DEPENDENCIES += openssl
|
||||
LIBTORRENT_RASTERBAR_CONF_OPTS += --enable-encryption
|
||||
else
|
||||
LIBTORRENT_RASTERBAR_CONF_OPTS += --disable-encryption
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user