[packages] collectd: link against libm to prevent unresolved references to __isnan...
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 6 Jun 2009 16:40:54 +0000 (16:40 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 6 Jun 2009 16:40:54 +0000 (16:40 +0000)
SVN-Revision: 16361

utils/collectd/Makefile

index 6bcd3171300e2e4e4a15f85b4cf78dc628a809f8..0639ff220224bd939ce022592d3d444cc0570c80 100644 (file)
@@ -315,7 +315,7 @@ 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 $(TARGET_LDFLAGS)
+       TARGET_LDFLAGS := -L$(wildcard $(BUILD_DIR)/rrdtool-1.0.*)/src/.libs -lz -lm $(TARGET_LDFLAGS)
 endif