From 2bbf22e692af17e056b9b1cc282c89c2bf057bde Mon Sep 17 00:00:00 2001 From: nico Date: Sat, 14 Aug 2010 14:25:30 +0000 Subject: [PATCH] [packages] collectd: set postgresql lib location explicitly (closes: #7247) git-svn-id: svn://svn.openwrt.org/openwrt/packages@22640 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/collectd/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index 6119572b7..69007d80d 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -167,6 +167,10 @@ ifneq ($(CONFIG_PACKAGE_collectd-mod-ascent),) CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/libxml2" endif +ifneq ($(CONFIG_PACKAGE_collectd-mod-postgresql),) + CONFIGURE_ARGS+= --with-libpq="$(STAGING_DIR)/usr/" +endif + ifneq ($(CONFIG_PACKAGE_collectd-mod-mysql),) CONFIGURE_ARGS+= --with-libmysql="$(STAGING_DIR)/usr/" endif -- 2.11.0