[Buildroot] [PATCH v3 9/9] package/asterisk: add optional dependency to libpjsip
Bernd Kuhls
bernd.kuhls at t-online.de
Sun Oct 14 09:02:01 UTC 2018
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
v3: initial revision
package/asterisk/asterisk.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
index 8a46438f92..cb6dbf86d9 100644
--- a/package/asterisk/asterisk.mk
+++ b/package/asterisk/asterisk.mk
@@ -76,7 +76,6 @@ ASTERISK_CONF_OPTS = \
--without-osptk \
--without-oss \
--without-postgres \
- --without-pjproject \
--without-pjproject-bundled \
--without-popt \
--without-resample \
@@ -180,6 +179,13 @@ else
ASTERISK_CONF_OPTS += --without-ogg
endif
+ifeq ($(BR2_PACKAGE_LIBPJSIP),y)
+ASTERISK_DEPENDENCIES += libpjsip
+ASTERISK_CONF_OPTS += --with-pjproject
+else
+ASTERISK_CONF_OPTS += --without-pjproject
+endif
+
ifeq ($(BR2_PACKAGE_OPUS),y)
ASTERISK_DEPENDENCIES += opus
ASTERISK_CONF_OPTS += --with-opus
--
2.19.1
More information about the buildroot
mailing list