From: Bernd Kuhls Date: Thu, 14 Dec 2017 08:31:33 +0100 Subject: [Buildroot] [PATCH 2/3] package/libupnp18: add optional dependency to openssl In-Reply-To: <20171214073134.28696-1-bernd.kuhls@t-online.de> References: <20171214073134.28696-1-bernd.kuhls@t-online.de> Message-ID: <20171214073134.28696-2-bernd.kuhls@t-online.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Signed-off-by: Bernd Kuhls --- package/libupnp18/libupnp18.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/libupnp18/libupnp18.mk b/package/libupnp18/libupnp18.mk index a75558e92b..b5d1a264a9 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_LIBOPENSSL),y) +LIBUPNP18_CONF_OPTS += --enable-open-ssl +LIBUPNP18_DEPENDENCIES += libopenssl +LIBUPNP18_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`" +else +LIBUPNP18_CONF_OPTS += --disable-open-ssl +endif + $(eval $(autotools-package)) -- 2.11.0