packages/utils/collectd/patches/010-rrdtool-link-zlib.patch
cyrus 7b2e112ad7 [packages] utils/collectd: Build fixes
Fixed Makefile to handle conflicting rrdtool packages
Added missing linking option to zlib for mod-rrdtool
Added compatibility code for brcm2.4 to mod-wireless


git-svn-id: svn://svn.openwrt.org/openwrt/packages@11270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-26 19:51:00 +00:00

12 lines
420 B
Diff

--- collectd-4.4.0.orig/configure 2008-05-26 17:54:07.000000000 +0200
+++ collectd-4.4.0/configure 2008-05-26 19:10:23.000000000 +0200
@@ -31551,7 +31551,7 @@
withval=$with_rrdtool; if test "x$withval" != "xno" && test "x$withval" != "xyes"
then
librrd_cflags="-I$withval/include"
- librrd_ldflags="-L$withval/lib"
+ librrd_ldflags="-L$withval/lib -lz"
with_rrdtool="yes"
else
with_rrdtool="$withval"