From 3fe4a3603cf58f397eaafe2d5ea24ebf75ff018d Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 29 Jan 2020 19:55:53 +0100 Subject: [PATCH] package/libpjsip: add bcg729 optional dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/libpjsip/libpjsip.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk index 84919fdc10..b89249a6e5 100644 --- a/package/libpjsip/libpjsip.mk +++ b/package/libpjsip/libpjsip.mk @@ -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 \ -- 2.30.2