projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b120e0
)
collectd: fix linker errors
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 4 Oct 2009 03:55:32 +0000
(
03:55
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 4 Oct 2009 03:55:32 +0000
(
03:55
+0000)
SVN-Revision: 17846
utils/collectd/Makefile
patch
|
blob
|
history
diff --git
a/utils/collectd/Makefile
b/utils/collectd/Makefile
index 14599a8eaeeedb0971ae78ef8fd76785b42815e3..9b81a633738ece8bbe06a5fe7dc48a7cac65dae4 100644
(file)
--- 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)" \