From: Marc Fournier Date: Mon, 10 Mar 2014 20:28:36 +0000 (+0100) Subject: link iptables plugin against flags from pkg-config X-Git-Tag: collectd-5.3.2~60^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=81836d02839d13350aa8225396f9d44403e44f84;p=collectd.git link iptables plugin against flags from pkg-config This solves issue #326 for ubuntu versions >= 13.10 --- diff --git a/src/Makefile.am b/src/Makefile.am index 71abeca9..a16e423c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -477,8 +477,8 @@ if BUILD_PLUGIN_IPTABLES pkglib_LTLIBRARIES += iptables.la iptables_la_SOURCES = iptables.c iptables_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_LIBIPTC_CPPFLAGS) -iptables_la_LDFLAGS = -module -avoid-version $(BUILD_WITH_LIBIPTC_LDFLAGS) -iptables_la_LIBADD = -liptc +iptables_la_LDFLAGS = -module -avoid-version +iptables_la_LIBADD = $(BUILD_WITH_LIBIPTC_LDFLAGS) collectd_LDADD += "-dlopen" iptables.la collectd_DEPENDENCIES += iptables.la endif