Install net-snmp-config into $(STAGING_DIR)/host/bin rather then
[openwrt/svn-archive/archive.git] / utils / collectd / Makefile
index b88db4ead2190cd3969c658f7b3dff3bfc75c025..46fe3b1b9764ba3aa02662e0bed36fdc64ba391a 100644 (file)
@@ -300,8 +300,8 @@ endif
 
 # exception: mod-rrdtool(1) needs rrdtool
 ifneq ($(CONFIG_PACKAGE_collectd-mod-rrdtool1),)
-       PKG_CONFIGURE_OPTS += --enable-rrdtool
        PKG_CONFIGURE_OPTS += --with-rrdtool=$(wildcard $(BUILD_DIR)/rrdtool-1.0.*)
+       TARGET_LDFLAGS := -L$(wildcard $(BUILD_DIR)/rrdtool-1.0.*)/src/.libs $(TARGET_LDFLAGS)
 endif