summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-02-28 12:27:57 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-02-28 12:29:49 +0100
commit67cebbdf5f349cc176037fa15c281a9462dae591 (patch)
treead22fa1715223459822adab9eac496f7c9460ff1
parentce6a0e685ef38a09e9aeb120cc36544eea40d913 (diff)
downloadbuildroot-67cebbdf5f349cc176037fa15c281a9462dae591.tar.gz
buildroot-67cebbdf5f349cc176037fa15c281a9462dae591.zip
libsrtp: openssl handling needs shared library support
Fixes: http://autobuild.buildroot.net/results/ab8/ab80094080c18602a2adb266981f53ebe0647f63/ http://autobuild.buildroot.net/results/a77/a770318af841610e0c10f61cf61bdae298aa59a8/ http://autobuild.buildroot.net/results/ce2/ce27f5b81b74320f4d2efbbaa4754c23fb2feeab/ http://autobuild.buildroot.net/results/57f/57f54c6f00953e8b7da70f4467f38cc9dfca2380/ And many more. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/libsrtp/libsrtp.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libsrtp/libsrtp.mk b/package/libsrtp/libsrtp.mk
index 5e622551d1..e5cf47b787 100644
--- a/package/libsrtp/libsrtp.mk
+++ b/package/libsrtp/libsrtp.mk
@@ -25,7 +25,8 @@ endif
# host-pkgconf to make sure pkg-config is installed.
LIBSRTP_DEPENDENCIES = host-pkgconf
-ifeq ($(BR2_PACKAGE_OPENSSL),y)
+# openssl handling needs libdl support
+ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx)
LIBSRTP_DEPENDENCIES += openssl
LIBSRTP_CONF_OPTS += --enable-openssl
else
OpenPOWER on IntegriCloud