From: Bernd Kuhls Date: Mon, 2 Apr 2018 08:21:51 +0000 (+0200) Subject: package/libupnp18: add optional dependency to openssl/libressl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3130ceef1c195bd60e414819743529484736a135;p=buildroot.git package/libupnp18: add optional dependency to openssl/libressl Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/libupnp18/libupnp18.mk b/package/libupnp18/libupnp18.mk index a75558e92b..07ef4382f0 100644 --- a/package/libupnp18/libupnp18.mk +++ b/package/libupnp18/libupnp18.mk @@ -12,4 +12,12 @@ LIBUPNP18_INSTALL_STAGING = YES LIBUPNP18_LICENSE = BSD-3-Clause LIBUPNP18_LICENSE_FILES = LICENSE +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBUPNP18_CONF_OPTS += --enable-open-ssl +LIBUPNP18_DEPENDENCIES += host-pkgconf openssl +LIBUPNP18_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`" +else +LIBUPNP18_CONF_OPTS += --disable-open-ssl +endif + $(eval $(autotools-package))