package/sofia-sip: fix build without openssl

HTTP-related modules are enabled by default and depend on openssl since
5b4103a125

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 18:52:26 +02:00 committed by Thomas Petazzoni
parent 090dc1d6cb
commit 97759dbc26

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)