summaryrefslogtreecommitdiff
path: root/package/iptables/patches/patch-libxtables_Makefile_am
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-08 11:58:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-08 11:58:04 +0200
commit7278a08f25737560c9d3ebeb8b51c040bd8df613 (patch)
treeb07dcaa0493c0db0178fa39dd43e3b2f3b207174 /package/iptables/patches/patch-libxtables_Makefile_am
parent532ef799b07e4496f3437e8ecc598a2f77d922c7 (diff)
fix iptables build, when conntrack lib is found, form buildroot
Diffstat (limited to 'package/iptables/patches/patch-libxtables_Makefile_am')
-rw-r--r--package/iptables/patches/patch-libxtables_Makefile_am11
1 files changed, 11 insertions, 0 deletions
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}