diff options
author | Peter Seiderer <ps.report@gmx.net> | 2015-03-10 23:08:07 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-03-16 21:30:06 +0100 |
commit | 79e0eac99b937d54ca53a5c4ea928a723ff7059d (patch) | |
tree | 2833e779258ffec6a68231d85cd7b4653e9c8fa5 /package/collectd | |
parent | 141928bc1010627f2663b61b119415033102b8d6 (diff) |
collectd: add configure hint for pg_config
Fixes [1] in case postgresql-devel package is installed on the host:
libpq . . . . . . . . no (libpq-fe.h not found)
postgresql . . . . . no (dependency error)
configure: error: "Some plugins are missing dependencies - see the summary above for details"
Otherwise fixes the following configure warning:
configure: WARNING: pg_config returned with status 127
[1] http://autobuild.buildroot.net/results/336/336b3e932be245faa04969af960702af672916dc
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/collectd')
-rw-r--r-- | package/collectd/collectd.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk index d5802d662..a4b91d6eb 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 |