aboutsummaryrefslogtreecommitdiff
path: root/package/collectd
diff options
context:
space:
mode:
authorGravatar Jack Kao <jackzzjack@gmail.com>2016-12-25 21:54:34 +0800
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-12-26 09:38:42 +0100
commita1914921ebc3c5d5720d7249e3dc2e5d030471f4 (patch)
tree7d173294f6041c74e1aacbde8aad9da77e94b700 /package/collectd
parent203813e981ff79c6150bec5adc9d5c5c98c5d6a3 (diff)
downloadbuildroot-a1914921ebc3c5d5720d7249e3dc2e5d030471f4.tar.gz
buildroot-a1914921ebc3c5d5720d7249e3dc2e5d030471f4.tar.bz2
collectd: fix option passed to the snmp dependency
--with-libnetsnmp doesn't take a path to the netsnmp config script, but to the sysroot where netsnmp can be found. Fixes: http://autobuild.buildroot.org/results/358e2f02f42e08fe362ecd46e636c0048e77c21f/ Signed-off-by: Jack Kao <jackzzjack@gmail.com> [Thomas: path is $(STAGING_DIR)/usr, not $(STAGING_DIR)/usr/include.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/collectd')
-rw-r--r--package/collectd/collectd.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 50a2e53efa..28c1b31e09 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -162,7 +162,7 @@ ifeq ($(BR2_PACKAGE_MYSQL),y)
COLLECTD_CONF_OPTS += --with-libmysql=$(STAGING_DIR)/usr
endif
ifeq ($(BR2_PACKAGE_NETSNMP),y)
-COLLECTD_CONF_OPTS += --with-libnetsnmp=$(STAGING_DIR)/usr/bin/net-snmp-config
+COLLECTD_CONF_OPTS += --with-libnetsnmp=$(STAGING_DIR)/usr
endif
ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
COLLECTD_CONF_OPTS += --with-libpq=$(STAGING_DIR)/usr/bin/pg_config