]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
build: add missing \ in src/Makefile.am (AM_CPPFLAGS)
authorDavid Kozub <zub.272@gmail.com>
Tue, 25 Nov 2014 17:51:43 +0000 (18:51 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 25 Nov 2014 17:52:09 +0000 (18:52 +0100)
The missing \ at the end of the line causes LIBMNL_CFLAGS and LIBNFTNL_CFLAGS
to be ignored. This causes build failure if the libmnl or libnftnl headers are
not in a path that's already searched by the C compiler.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/Makefile.am

index e8afd464c6ad90aeee1b080161334bc08bb03533..d53c347d6c1011e7d0b9202fcb4df85c04165f0e 100644 (file)
@@ -3,7 +3,7 @@ sbin_PROGRAMS = nft
 CLEANFILES = scanner.c parser_bison.c
 
 AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CPPFLAGS += -DDEFAULT_INCLUDE_PATH="\"${sysconfdir}\"" -DDEBUG
+AM_CPPFLAGS += -DDEFAULT_INCLUDE_PATH="\"${sysconfdir}\"" -DDEBUG \
                ${LIBMNL_CFLAGS} ${LIBNFTNL_CFLAGS}
 
 AM_CFLAGS = -Wall                                                              \