瀏覽代碼

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>
Fabrice Fontaine 4 年之前
父節點
當前提交
97759dbc26
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      package/sofia-sip/sofia-sip.mk

+ 6 - 2
package/sofia-sip/sofia-sip.mk

@@ -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)