diff options
| author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2018-04-02 10:21:51 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-04-04 21:40:47 +0200 |
| commit | 3130ceef1c195bd60e414819743529484736a135 (patch) | |
| tree | 5d368def65248de2ff8353b836ad6f63bcac1632 | |
| parent | 1f89a6379cdc3348d972a09b7e900d1f51aee77a (diff) | |
| download | buildroot-3130ceef1c195bd60e414819743529484736a135.tar.gz buildroot-3130ceef1c195bd60e414819743529484736a135.zip | |
package/libupnp18: add optional dependency to openssl/libressl
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| -rw-r--r-- | package/libupnp18/libupnp18.mk | 8 |
1 files changed, 8 insertions, 0 deletions
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)) |

