From: Steven Barth Date: Tue, 23 Sep 2008 16:47:36 +0000 (+0000) Subject: collectd: Work around linkage problems with conflicting librrd versions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b1bcf45c4ba87a149bfbbfd2a782f35e4ee1419d;p=openwrt%2Fsvn-archive%2Farchive.git collectd: Work around linkage problems with conflicting librrd versions SVN-Revision: 12669 --- diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index b88db4ead2..46fe3b1b97 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -300,8 +300,8 @@ endif # exception: mod-rrdtool(1) needs rrdtool ifneq ($(CONFIG_PACKAGE_collectd-mod-rrdtool1),) - PKG_CONFIGURE_OPTS += --enable-rrdtool PKG_CONFIGURE_OPTS += --with-rrdtool=$(wildcard $(BUILD_DIR)/rrdtool-1.0.*) + TARGET_LDFLAGS := -L$(wildcard $(BUILD_DIR)/rrdtool-1.0.*)/src/.libs $(TARGET_LDFLAGS) endif