Skip to contentSkip to conversation

libpjsip: fix ssl support

PATCH New Adam Duskett 2 participants 2 messages Nov 14, 2017 – Nov 15, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libpjsip: fix ssl support

Currently, ssl support is implicitely disabled in the initial configure options. This overrides the check for openssl below.

libpjsip is also currently only compatible with libopenssl. Change the check to LIBOPENSSL instead of openssl, and depend on libopenssl.

---
 package/libpjsip/libpjsip.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
package/libpjsip/libpjsip.mk +2 -3
index 6f3f9e3f1a..eca6d8f1ee 100644
@@ -50,7 +50,6 @@ LIBPJSIP_CONF_OPTS = \
 	--disable-openh264 \
 	--disable-libyuv \
 	--disable-ipp \
-	--disable-ssl \
 	--disable-silk \
 	--with-external-srtp
 
@@ -59,8 +58,8 @@ LIBPJSIP_CONF_OPTS = \
 # so we want to use it.
 LIBPJSIP_CONF_OPTS += --enable-epoll
 
-ifeq ($(BR2_PACKAGE_OPENSSL),y)
-LIBPJSIP_DEPENDENCIES += openssl
+ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
+LIBPJSIP_DEPENDENCIES += libopenssl
 LIBPJSIP_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr
 else
 LIBPJSIP_CONF_OPTS += --disable-ssl
Signature · 1 line
2.13.6
#1 lore raw

PATCH 1/1 libpjsip: fix ssl support

Hello,

Quoted 10 lines · Adam Duskett

Currently, ssl support is implicitely disabled in the initial configure options. This overrides the check for openssl below.

libpjsip is also currently only compatible with libopenssl. Change the check to LIBOPENSSL instead of openssl, and depend on libopenssl.

---
 package/libpjsip/libpjsip.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com