collectd: fix linker errors
[openwrt/svn-archive/archive.git] / utils / collectd / patches / 010-rrdtool-link-zlib.patch
1 Index: collectd-4.4.3/configure
2 ===================================================================
3 --- collectd-4.4.3.orig/configure 2008-09-08 11:14:03.000000000 +0200
4 +++ collectd-4.4.3/configure 2008-09-08 11:14:21.000000000 +0200
5 @@ -31446,7 +31446,7 @@
6 withval=$with_rrdtool; if test "x$withval" != "xno" && test "x$withval" != "xyes"
7 then
8 librrd_cflags="-I$withval/include"
9 - librrd_ldflags="-L$withval/lib"
10 + librrd_ldflags="-L$withval/lib -lz"
11 with_rrdtool="yes"
12 else
13 with_rrdtool="$withval"