package/asterisk: add optional libogg 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:
Yann E. MORIN 2017-09-09 23:39:15 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 1cf7b3c78b
commit 637800de21

View File

@ -79,7 +79,6 @@ ASTERISK_CONF_OPTS = \
--without-neon29 \
--without-netsnmp \
--without-newt \
--without-ogg \
--without-openr2 \
--without-opus \
--without-osptk \
@ -158,6 +157,13 @@ else
ASTERISK_CONF_OPTS += --without-neon
endif
ifeq ($(BR2_PACKAGE_LIBOGG),y)
ASTERISK_DEPENDENCIES += libogg
ASTERISK_CONF_OPTS += --with-ogg
else
ASTERISK_CONF_OPTS += --without-ogg
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
ASTERISK_DEPENDENCIES += openssl
ASTERISK_CONF_OPTS += --with-ssl