Skip to contentSkip to conversation

package/libpjsip: add bcg729 optional dependency

PATCH Superseded Fabrice Fontaine 2 participants 2 messages Jan 29, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libpjsip: add bcg729 optional dependency

---
 package/libpjsip/libpjsip.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/libpjsip/libpjsip.mk +7 -0
index 84919fdc10..b89249a6e5 100644
@@ -49,6 +49,13 @@ LIBPJSIP_CONF_OPTS = \
 # so we want to use it.
 LIBPJSIP_CONF_OPTS += --enable-epoll
 
+ifeq ($(BR2_PACKAGE_BCG729),y)
+LIBPJSIP_DEPENDENCIES += bcg729
+LIBPJSIP_CONF_OPTS += --with-bcg729=$(STAGING_DIR)/usr
+else
+LIBPJSIP_CONF_OPTS += --disable-bcg729
+endif
+
 ifeq ($(BR2_PACKAGE_LIBGSM),y)
 LIBPJSIP_CONF_OPTS += \
 	--enable-gsm-codec \
Signature · 1 line
2.24.1