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>
This commit is contained in:
parent
bef84afa8d
commit
4d597d70ec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user