aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2018-10-14 11:01:54 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-09 22:23:08 +0100
commitc48bff9da6101bff35ff420030e5ab2c430352b4 (patch)
tree63c001be4fafd5538974b8fe6eddbbd1b0bf504c
parent659a0fb88e7aea23ff5b2f7115a7c5903594c538 (diff)
downloadbuildroot-c48bff9da6101bff35ff420030e5ab2c430352b4.tar.gz
buildroot-c48bff9da6101bff35ff420030e5ab2c430352b4.tar.bz2
package/asterisk: libsrtp needs openssl
Fixes configure error checking for the ability of -lsrtp2 to be linked in a shared object... yes checking for srtp_crypto_policy_set_aes_cm_256_hmac_sha1_80 in -lsrtp2... yes checking for srtp_crypto_policy_set_aes_cm_192_hmac_sha1_80 in -lsrtp2... no checking for srtp_crypto_policy_set_aes_gcm_128_8_auth in -lsrtp2... no checking for srtp_shutdown in -lsrtp2... yes checking for srtp2/srtp.h... (cached) yes configure: WARNING: *** configure: WARNING: *** OpenSSL required when using libsrtp2, checking for libsrtp instead. configure: WARNING: *** using this defconfig: BR2_PACKAGE_LIBSRTP=y BR2_PACKAGE_ASTERISK=y Please note that openssl support in libsrtp is not available for static builds: https://git.buildroot.net/buildroot/tree/package/libsrtp/libsrtp.mk#n27 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/asterisk/asterisk.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
index 4ed85743b0..6de498ed07 100644
--- a/package/asterisk/asterisk.mk
+++ b/package/asterisk/asterisk.mk
@@ -242,7 +242,8 @@ else
ASTERISK_CONF_OPTS += --without-speex --without-speexdsp
endif
-ifeq ($(BR2_PACKAGE_LIBSRTP),y)
+# asterisk needs an openssl-enabled libsrtp
+ifeq ($(BR2_PACKAGE_LIBSRTP)$(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yyx)
ASTERISK_DEPENDENCIES += libsrtp
ASTERISK_CONF_OPTS += --with-srtp
else