summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-05-22 00:39:36 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-12-30 23:50:31 +0100
commit035cf69ebfb74647fc6110e7c8cb2860e4a37162 (patch)
tree0d84c5cbe7ec4decc9c40fb8466716272a028e9a
parent20c156f9f4c43857a622f015a3022517601c3600 (diff)
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 <giuseppelng@gmail.com> Tested-by: Giuseppe Longo <giuseppelng@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--iptables/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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