]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/asterisk: add optional libogg dependency
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 9 Sep 2017 21:39:15 +0000 (23:39 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 23 Sep 2017 17:20:18 +0000 (19:20 +0200)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/asterisk/asterisk.mk

index 859129b4faf0950e30cd711b8060b58ba8f785fc..bf706f787d9e0415ac37e7f62332149419548473 100644 (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