netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2] iptables: link against libnetfilter_conntrack
@ 2013-08-13 16:37 Gustavo Zacarias
  2013-08-13 18:59 ` Florian Westphal
  2013-08-13 19:02 ` Jan Engelhardt
  0 siblings, 2 replies; 8+ messages in thread
From: Gustavo Zacarias @ 2013-08-13 16:37 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Gustavo Zacarias

When libnetfilter_conntrack is available iptables needs to link
against it otherwise we get build failures.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 iptables/Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/iptables/Makefile.am b/iptables/Makefile.am
index a4246eb..6390b7c 100644
--- a/iptables/Makefile.am
+++ b/iptables/Makefile.am
@@ -21,6 +21,9 @@ xtables_multi_SOURCES += ip6tables-save.c ip6tables-restore.c \
 xtables_multi_CFLAGS  += -DENABLE_IPV6
 xtables_multi_LDADD   += ../libiptc/libip6tc.la ../extensions/libext6.a
 endif
+if HAVE_LIBNETFILTER_CONNTRACK
+xtables_multi_LDADD += @libnetfilter_conntrack_LIBS@
+endif
 xtables_multi_SOURCES += xshared.c
 xtables_multi_LDADD   += ../libxtables/libxtables.la -lm

--
1.8.1.5


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-12-24 16:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-13 16:37 [PATCHv2] iptables: link against libnetfilter_conntrack Gustavo Zacarias
2013-08-13 18:59 ` Florian Westphal
2013-08-13 19:02 ` Jan Engelhardt
2013-08-13 20:42   ` Florian Westphal
2013-08-14  1:13     ` Gustavo Zacarias
2013-08-14 14:46       ` Jan Engelhardt
2013-08-23 20:03   ` Florian Westphal
2013-12-24 16:00     ` Ed W

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).