package/sofia-sip: fix build without openssl

HTTP-related modules are enabled by default and depend on openssl since
https://github.com/freeswitch/sofia-sip/commit/5b4103a12596ea01b4cdbb21b75826a085d557aa

Fixes:
 - http://autobuild.buildroot.org/results/95b6c489fed07d6fe626200ea057c83756d54deb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine
2020-09-13 22:03:49 +02:00
committed by Thomas Petazzoni
parent 090dc1d6cb
commit 97759dbc26
+6 -2
View File
@@ -20,10 +20,14 @@ SOFIA_SIP_CONF_OPTS += --without-glib
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
SOFIA_SIP_CONF_OPTS += --with-openssl=pkg-config
SOFIA_SIP_CONF_OPTS += \
--enable-nth \
--with-openssl=pkg-config
SOFIA_SIP_DEPENDENCIES += openssl
else
SOFIA_SIP_CONF_OPTS += --without-openssl
SOFIA_SIP_CONF_OPTS += \
--disable-nth \
--without-openssl
endif
ifeq ($(BR2_ENABLE_DEBUG),y)