From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 4 Oct 2018 14:18:56 +0200 Subject: [Buildroot] [PATCH 1/1] package/asterisk: libsrtp needs openssl In-Reply-To: <20181003190829.28477-1-bernd.kuhls@t-online.de> References: <20181003190829.28477-1-bernd.kuhls@t-online.de> Message-ID: <20181004141856.3e7a32b6@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Wed, 3 Oct 2018 21:08:29 +0200, Bernd Kuhls wrote: > 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 > > Signed-off-by: Bernd Kuhls > --- > package/asterisk/asterisk.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk > index 9480d6ba82..c3f1136068 100644 > --- a/package/asterisk/asterisk.mk > +++ b/package/asterisk/asterisk.mk > @@ -245,7 +245,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) Any reason to exclude static linking configurations here? This is not explained in the commit log. Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com