From: Nicolas Thill Date: Sat, 14 Aug 2010 14:25:30 +0000 (+0000) Subject: [packages] collectd: set postgresql lib location explicitly (closes: #7247) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09cb4f60a670f6049a4ac47d575f46ce95937de7;p=openwrt%2Fsvn-archive%2Farchive.git [packages] collectd: set postgresql lib location explicitly (closes: #7247) SVN-Revision: 22640 --- diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index 6119572b77..69007d80d6 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