summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e5d3760)
raw | patch | inline | side by side (parent: e5d3760)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 10 Mar 2014 20:28:36 +0000 (21:28 +0100) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 10 Mar 2014 20:28:36 +0000 (21:28 +0100) |
This solves issue #326 for ubuntu versions >= 13.10
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index 71abeca93a71f04bf2a4ca96eb5c22af51def8fa..a16e423c169654f5e04b18c1978b0e26446e2706 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
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