From 7278a08f25737560c9d3ebeb8b51c040bd8df613 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 8 Apr 2014 11:58:04 +0200 Subject: fix iptables build, when conntrack lib is found, form buildroot --- package/iptables/patches/patch-libxtables_Makefile_am | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/iptables/patches/patch-libxtables_Makefile_am (limited to 'package/iptables/patches/patch-libxtables_Makefile_am') diff --git a/package/iptables/patches/patch-libxtables_Makefile_am b/package/iptables/patches/patch-libxtables_Makefile_am new file mode 100644 index 000000000..d05a100aa --- /dev/null +++ b/package/iptables/patches/patch-libxtables_Makefile_am @@ -0,0 +1,11 @@ +--- iptables-1.4.21.orig/libxtables/Makefile.am 2013-11-22 12:18:13.000000000 +0100 ++++ iptables-1.4.21/libxtables/Makefile.am 2014-04-08 11:51:20.000000000 +0200 +@@ -10,7 +10,7 @@ libxtables_la_LIBADD = + if ENABLE_STATIC + # With --enable-static, shipped extensions are linked into the main executable, + # so we need all the LIBADDs here too +-libxtables_la_LIBADD += -lm ++libxtables_la_LIBADD += -lm ${libnetfilter_conntrack_LIBS} + endif + if ENABLE_SHARED + libxtables_la_CFLAGS = ${AM_CFLAGS} -- cgit v1.2.3