* [Buildroot] [PATCH v2 1/1] package/libupnp18: add optional dependency to openssl/libressl
@ 2018-04-02 8:21 Bernd Kuhls
2018-04-04 19:41 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2018-04-02 8:21 UTC (permalink / raw)
To: buildroot
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: Added and build-tested support for LibreSSL (Thomas)
package/libupnp18/libupnp18.mk | 8 ++++++++
1 file changed, 8 insertions(+)
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))
--
2.14.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v2 1/1] package/libupnp18: add optional dependency to openssl/libressl
2018-04-02 8:21 [Buildroot] [PATCH v2 1/1] package/libupnp18: add optional dependency to openssl/libressl Bernd Kuhls
@ 2018-04-04 19:41 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-04-04 19:41 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 2 Apr 2018 10:21:51 +0200, Bernd Kuhls wrote:
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> v2: Added and build-tested support for LibreSSL (Thomas)
>
> package/libupnp18/libupnp18.mk | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> 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`"
Weird that the configure.ac script doesn't have any logic to link
against OpenSSL, but that's indeed the case.
Therefore: applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-04 19:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-02 8:21 [Buildroot] [PATCH v2 1/1] package/libupnp18: add optional dependency to openssl/libressl Bernd Kuhls
2018-04-04 19:41 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.