collectd: fix linker errors
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17846 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e36000f393
commit
a6e9e3ad98
@ -314,9 +314,10 @@ 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 -lm $(TARGET_LDFLAGS)
|
TARGET_LDFLAGS := -L$(wildcard $(BUILD_DIR)/rrdtool-1.0.*)/src/.libs -lz $(TARGET_LDFLAGS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
TARGET_LDFLAGS += -lm
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
MAKE_FLAGS += \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user