[packages] collectd: link against libm to prevent unresolved references to __isnan (#5241)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@16361 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2009-06-06 16:40:54 +00:00
parent 39ce43d5c6
commit 1ffd464437

View File

@ -315,7 +315,7 @@ endif
# exception: mod-rrdtool(1) needs rrdtool # exception: mod-rrdtool(1) needs rrdtool
ifneq ($(CONFIG_PACKAGE_collectd-mod-rrdtool1),) ifneq ($(CONFIG_PACKAGE_collectd-mod-rrdtool1),)
PKG_CONFIGURE_OPTS += --with-rrdtool=$(wildcard $(BUILD_DIR)/rrdtool-1.0.*) PKG_CONFIGURE_OPTS += --with-rrdtool=$(wildcard $(BUILD_DIR)/rrdtool-1.0.*)
TARGET_LDFLAGS := -L$(wildcard $(BUILD_DIR)/rrdtool-1.0.*)/src/.libs -lz $(TARGET_LDFLAGS) TARGET_LDFLAGS := -L$(wildcard $(BUILD_DIR)/rrdtool-1.0.*)/src/.libs -lz -lm $(TARGET_LDFLAGS)
endif endif