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>
This commit is contained in:
parent
4f1c340311
commit
c5a4355c73
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user