[Buildroot] [PATCH 32/52] package/asterisk: add optional spandsp support
Yann E. MORIN
yann.morin.1998 at free.fr
Fri Dec 30 10:29:33 UTC 2016
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
---
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 ea27c56..e5fd28e 100644
--- a/package/asterisk/asterisk.mk
+++ b/package/asterisk/asterisk.mk
@@ -67,7 +67,6 @@ ASTERISK_CONF_OPTS += \
--without-resample \
--without-sdl \
--without-SDL_image \
- --without-spandsp \
--without-sqlite \
--without-suppserv \
--without-tds \
@@ -211,6 +210,13 @@ else
ASTERISK_CONF_OPTS += --without-ssl
endif
+ifeq ($(BR2_PACKAGE_SPANDSP),y)
+ASTERISK_DEPENDENCIES += spandsp
+ASTERISK_CONF_OPTS += --with-spandsp
+else
+ASTERISK_CONF_OPTS += --without-spandsp
+endif
+
ifeq ($(BR2_PACKAGE_SPEEX),y)
ASTERISK_DEPENDENCIES += speex
ASTERISK_CONF_OPTS += --with-speex --with-speexdsp
--
2.7.4
More information about the buildroot
mailing list