From: Pablo Neira Ayuso Date: Tue, 21 May 2013 22:39:36 +0000 (+0200) Subject: xtables: fix compilation due to missing autogenerated header X-Git-Tag: v1.6.0~111^2~103 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=035cf69ebfb74647fc6110e7c8cb2860e4a37162;p=thirdparty%2Fiptables.git xtables: fix compilation due to missing autogenerated header Fix compilation: nft.c:51:35: fatal error: xtables-config-parser.h: File or directory doesn't exist xtables-config-parser.h was generated after compiling nft.c. Reported-by: Giuseppe Longo Tested-by: Giuseppe Longo Signed-off-by: Pablo Neira Ayuso --- diff --git a/iptables/Makefile.am b/iptables/Makefile.am index 5d653545..5cbd8ff9 100644 --- a/iptables/Makefile.am +++ b/iptables/Makefile.am @@ -28,10 +28,10 @@ xtables_multi_LDADD += ../libxtables/libxtables.la -lm if ENABLE_NFTABLES if HAVE_LIBMNL if HAVE_LIBNFTABLES +xtables_multi_SOURCES += xtables-config-parser.y xtables-config-syntax.l xtables_multi_SOURCES += xtables-save.c xtables-restore.c \ xtables-standalone.c xtables.c nft.c \ nft-shared.c nft-ipv4.c nft-ipv6.c \ - xtables-config-parser.y xtables-config-syntax.l \ xtables-config.c xtables-events.c xtables_multi_LDADD += -lmnl -lnftables ${libmnl_LIBS} ${libnftables_LIBS} xtables_multi_CFLAGS += -DENABLE_NFTABLES