summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/collectd/collectd.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index d5802d662e..a4b91d6eb2 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -139,6 +139,9 @@ endif
ifeq ($(BR2_PACKAGE_NETSNMP),y)
COLLECTD_CONF_OPTS += --with-libnetsnmp=$(STAGING_DIR)/usr/bin/net-snmp-config
endif
+ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
+ COLLECTD_CONF_OPTS += --with-libpq=$(STAGING_DIR)/usr/bin/pg_config
+endif
ifeq ($(BR2_PACKAGE_YAJL),y)
COLLECTD_CONF_OPTS += --with-yajl=$(STAGING_DIR)/usr
endif
OpenPOWER on IntegriCloud