From c5a4355c739a4d38547329eeb6e36c10f1a85795 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 9 Sep 2017 23:39:19 +0200 Subject: [PATCH] package/asterisk: add optional libvorbis dependency Signed-off-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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 1ac1f49c05..82ca2ba739 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -103,7 +103,6 @@ ASTERISK_CONF_OPTS = \ --without-tonezone \ --without-unbound \ --without-unixodbc \ - --without-vorbis \ --without-vpb \ --without-x11 \ --with-crypt \ @@ -188,6 +187,13 @@ else ASTERISK_CONF_OPTS += --without-speex --without-speexdsp endif +ifeq ($(BR2_PACKAGE_LIBVORBIS),y) +ASTERISK_DEPENDENCIES += libvorbis +ASTERISK_CONF_OPTS += --with-vorbis +else +ASTERISK_CONF_OPTS += --without-vorbis +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) ASTERISK_DEPENDENCIES += zlib ASTERISK_CONF_OPTS += --with-z -- 2.30.2