Skip to contentSkip to conversation

build: add missing \ in src/Makefile.am (AM_CPPFLAGS)

PATCH New David Kozub 1 participant 1 message Nov 24, 2014 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: add missing \ in src/Makefile.am (AM_CPPFLAGS)

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.

---
 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/Makefile.am +1 -1
index 0a67810..1ca06f3 100644
@@ -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}\""
+AM_CPPFLAGS += -DDEFAULT_INCLUDE_PATH="\"${sysconfdir}\"" \
 		${LIBMNL_CFLAGS} ${LIBNFTNL_CFLAGS}
 
 AM_CFLAGS = -Wall								\
Signature · 1 line
2.1.3