summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Duskett <aduskett@gmail.com>2017-11-14 09:42:03 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-11-15 23:02:11 +0100
commit9e479e65dcf1582b20433ca1b120efb66e806a04 (patch)
tree10c7af5a1772bd88c620af4cbbe18a292aea8eed
parent5fc4b87db47dfce290df215e4bc0eefa541db55d (diff)
downloadbuildroot-9e479e65dcf1582b20433ca1b120efb66e806a04.tar.gz
buildroot-9e479e65dcf1582b20433ca1b120efb66e806a04.zip
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. Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libpjsip/libpjsip.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk
index 6f3f9e3f1a..eca6d8f1ee 100644
--- a/package/libpjsip/libpjsip.mk
+++ b/package/libpjsip/libpjsip.mk
@@ -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
OpenPOWER on IntegriCloud