When libnetfilter_conntrack is available iptables needs to link against it otherwise we get build failures. Signed-off-by: Gustavo Zacarias <gustavo@xxxxxxxxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html