From 1cf7b3c78b26c52ed8b4b51966c6f1c3ed0742ee Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 9 Sep 2017 23:39:14 +0200 Subject: [PATCH] package/asterisk: add optional neon dependency Signed-off-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/asterisk/asterisk.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index 7ef449ffea..859129b4fa 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -76,7 +76,6 @@ ASTERISK_CONF_OPTS = \ --without-misdn \ --without-mysqlclient \ --without-nbs \ - --without-neon \ --without-neon29 \ --without-netsnmp \ --without-newt \ @@ -150,6 +149,15 @@ else ASTERISK_CONF_OPTS += --without-asound endif +ifeq ($(BR2_PACKAGE_NEON),y) +ASTERISK_DEPENDENCIES += neon +ASTERISK_CONF_OPTS += --with-neon +ASTERISK_CONF_ENV += \ + ac_cv_path_CONFIG_NEON=$(STAGING_DIR)/usr/bin/neon-config +else +ASTERISK_CONF_OPTS += --without-neon +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl -- 2.30.2