fs/tar: make --no-recursion effective
[buildroot-gz.git] / package / iptables / 0002-iptables-add-xtables-config-parser.h-to-BUILT_SOURCES.patch
blob761c04894f6f2569f3a115c93082eb81d62ec76e
1 From 4dc8e2aa91bd4151f7e5cd56d88d3731b4c1525e Mon Sep 17 00:00:00 2001
2 From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3 Date: Wed, 30 Dec 2015 14:39:35 -0300
4 Subject: [PATCH] iptables: add xtables-config-parser.h to BUILT_SOURCES
6 Otherwise other sources that use it might be built before it's ready leading
7 to build failure, for example by iptables/nft.c
9 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
10 ---
11 Status: sent upstream (mailing list, no link yet)
13 iptables/Makefile.am | 3 +++
14 1 file changed, 3 insertions(+)
16 diff --git a/iptables/Makefile.am b/iptables/Makefile.am
17 index 3c0faa5..c3eb8a8 100644
18 --- a/iptables/Makefile.am
19 +++ b/iptables/Makefile.am
20 @@ -4,6 +4,8 @@ AM_CFLAGS = ${regular_CFLAGS}
21 AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include ${kinclude_CPPFLAGS} ${libmnl_CFLAGS} ${libnftnl_CFLAGS} ${libnetfilter_conntrack_CFLAGS}
22 AM_YFLAGS = -d
24 +BUILT_SOURCES =
26 xtables_multi_SOURCES = xtables-multi.c iptables-xml.c
27 xtables_multi_CFLAGS = ${AM_CFLAGS}
28 xtables_multi_LDADD = ../extensions/libext.a
29 @@ -27,6 +29,7 @@ xtables_multi_LDADD += ../libxtables/libxtables.la -lm
31 # nftables compatibility layer
32 if ENABLE_NFTABLES
33 +BUILT_SOURCES += xtables-config-parser.h
34 xtables_compat_multi_SOURCES = xtables-compat-multi.c iptables-xml.c
35 xtables_compat_multi_CFLAGS = ${AM_CFLAGS}
36 xtables_compat_multi_LDADD = ../extensions/libext.a ../extensions/libext_ebt.a
37 --
38 2.4.10