From: Felix Fietkau Date: Sun, 4 Oct 2009 03:55:32 +0000 (+0000) Subject: collectd: fix linker errors X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=20f9ff7dce49eb734159451a4c731fa3b26ee069;p=openwrt%2Fsvn-archive%2Farchive.git collectd: fix linker errors SVN-Revision: 17846 --- diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index 14599a8eae..9b81a63373 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -314,9 +314,10 @@ endif # exception: mod-rrdtool(1) needs rrdtool ifneq ($(CONFIG_PACKAGE_collectd-mod-rrdtool1),) PKG_CONFIGURE_OPTS += --with-rrdtool=$(wildcard $(BUILD_DIR)/rrdtool-1.0.*) - TARGET_LDFLAGS := -L$(wildcard $(BUILD_DIR)/rrdtool-1.0.*)/src/.libs -lz -lm $(TARGET_LDFLAGS) + TARGET_LDFLAGS := -L$(wildcard $(BUILD_DIR)/rrdtool-1.0.*)/src/.libs -lz $(TARGET_LDFLAGS) endif +TARGET_LDFLAGS += -lm MAKE_FLAGS += \ DESTDIR="$(PKG_INSTALL_DIR)" \