From: nico 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.archive.openwrt.org/?a=commitdiff_plain;h=2bbf22e692af17e056b9b1cc282c89c2bf057bde;p=packages.git [packages] collectd: set postgresql lib location explicitly (closes: #7247) git-svn-id: svn://svn.openwrt.org/openwrt/packages@22640 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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