diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2017-09-09 23:39:42 +0200 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-09-23 19:20:18 +0200 |
commit | 4d597d70ec20d48b9a73d8987854bb0ff8f2e0d6 (patch) | |
tree | dadc5ac3e85c474dfc14770a594fb2806fa76c10 /package | |
parent | bef84afa8d61c103a2297824b1f92757b57590eb (diff) | |
download | buildroot-4d597d70ec20d48b9a73d8987854bb0ff8f2e0d6.tar.gz buildroot-4d597d70ec20d48b9a73d8987854bb0ff8f2e0d6.zip |
package/asterisk: add optional netsnmp dependency
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package')
-rw-r--r-- | package/asterisk/asterisk.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index 02d0f2947d..a6801a006d 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -73,7 +73,6 @@ ASTERISK_CONF_OPTS = \ --without-mysqlclient \ --without-nbs \ --without-neon29 \ - --without-netsnmp \ --without-newt \ --without-openr2 \ --without-osptk \ @@ -164,6 +163,13 @@ else ASTERISK_CONF_OPTS += --without-neon endif +ifeq ($(BR2_PACKAGE_NETSNMP),y) +ASTERISK_DEPENDENCIES += netsnmp +ASTERISK_CONF_OPTS += --with-netsnmp=$(STAGING_DIR)/usr +else +ASTERISK_CONF_OPTS += --without-netsnmp +endif + ifeq ($(BR2_PACKAGE_LIBOGG),y) ASTERISK_DEPENDENCIES += libogg ASTERISK_CONF_OPTS += --with-ogg |