package/zabbix: netsnmp needs mib
netsnmp support needs mib to avoid the following build failure raised since the addition of the package in commit42382a1712
: checks_snmp.c: In function ‘zbx_snmp_get_octet_string’: checks_snmp.c:694:35: error: invalid use of undefined type ‘struct tree’ 694 | hint = (NULL != subtree ? subtree->hint : NULL); | ^~ Fixes: - No autobuilder failures (yet) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commit77f9d2d6a6
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
61dfa6a4ef
commit
d3c27619bf
@ -55,7 +55,7 @@ else
|
||||
ZABBIX_CONF_OPTS += --without-libxml2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NETSNMP),y)
|
||||
ifeq ($(BR2_PACKAGE_NETSNMP_ENABLE_MIBS),y)
|
||||
ZABBIX_CONF_OPTS += --with-net-snmp=$(STAGING_DIR)/usr/bin/net-snmp-config
|
||||
ZABBIX_DEPENDENCIES += netsnmp
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user