projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5d3760
)
link iptables plugin against flags from pkg-config
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
71abeca
..
a16e423
100644
(file)
--- 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