[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 6bcd317..0639ff2 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