@@ -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
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> --- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)