From: Yann E. MORIN Date: Sat, 9 Sep 2017 21:39:15 +0000 (+0200) Subject: package/asterisk: add optional libogg dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=637800de21706bd98e39fed162281763efddbba6;p=buildroot.git package/asterisk: add optional libogg dependency Signed-off-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index 859129b4fa..bf706f787d 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -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