From 81836d02839d13350aa8225396f9d44403e44f84 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Mon, 10 Mar 2014 21:28:36 +0100 Subject: [PATCH] link iptables plugin against flags from pkg-config This solves issue #326 for ubuntu versions >= 13.10 --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.0