[PATCH] iptables: link libxtables against libnetfilter_conntrack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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

diff --git a/libxtables/Makefile.am b/libxtables/Makefile.am
index c5795fe..2460815 100644
--- a/libxtables/Makefile.am
+++ b/libxtables/Makefile.am
@@ -18,3 +18,6 @@ libxtables_la_LIBADD += -ldl
 else
 libxtables_la_CFLAGS  = ${AM_CFLAGS} -DNO_SHARED_LIBS=1
 endif
+if HAVE_LIBNETFILTER_CONNTRACK
+libxtables_la_LIBADD += @libnetfilter_conntrack_LIBS@
+endif
-- 
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



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux