summaryrefslogtreecommitdiffstats
path: root/package/asterisk
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-09-09 23:39:19 +0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-23 19:20:18 +0200
commitc5a4355c739a4d38547329eeb6e36c10f1a85795 (patch)
treec5230899273c6e680021b6745173063f199d56f3 /package/asterisk
parent4f1c340311768fa3a94605086e5c99cb1733ce93 (diff)
downloadbuildroot-c5a4355c739a4d38547329eeb6e36c10f1a85795.tar.gz
buildroot-c5a4355c739a4d38547329eeb6e36c10f1a85795.zip
package/asterisk: add optional libvorbis dependency
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/asterisk')
-rw-r--r--package/asterisk/asterisk.mk8
1 files changed, 7 insertions, 1 deletions
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
OpenPOWER on IntegriCloud