summaryrefslogtreecommitdiffstats
path: root/package/libshout
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-09-23 11:19:49 +0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-26 23:50:14 +0200
commit46b8fb7500ecca65a79507318fd3052208559c09 (patch)
tree12234b77336c86ddc0b6d91d20a5a8a564244a99 /package/libshout
parent73dba11172dd536ffae68e1fd4cd1b5c9fc005c3 (diff)
downloadbuildroot-46b8fb7500ecca65a79507318fd3052208559c09.tar.gz
buildroot-46b8fb7500ecca65a79507318fd3052208559c09.zip
package/libshout: enable optional dependency for libressl
libshout uses pkgconfig currently only to check for openssl paths, to fix the build error we pass our STAGING_DIR as parameter to --with-openssl Fixes http://autobuild.buildroot.net/results/72a/72aa07d48d6b1d7dea046b88ee4aa943534ffad4/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/libshout')
-rw-r--r--package/libshout/libshout.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/libshout/libshout.mk b/package/libshout/libshout.mk
index 8fd850fb13..4f209081a4 100644
--- a/package/libshout/libshout.mk
+++ b/package/libshout/libshout.mk
@@ -31,6 +31,9 @@ endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBSHOUT_CONF_OPTS += --with-openssl
LIBSHOUT_DEPENDENCIES += openssl
+else ifeq ($(BR2_PACKAGE_LIBRESSL),y)
+LIBSHOUT_CONF_OPTS += --with-openssl=$(STAGING_DIR)/lib
+LIBSHOUT_DEPENDENCIES += libressl
else
LIBSHOUT_CONF_OPTS += --without-openssl
endif
OpenPOWER on IntegriCloud