From 6c06796e3ba4609f4557457e8060675b5c0832c6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 5 Mar 2008 00:19:15 +0100 Subject: [PATCH] Makefile: add missing xtables_CFLAGS variable If xtables.h is to be found in a directory other than included in the default preprocessor search path, compilation failed because the path specified with --with-xtables= was not passed to gcc. --- extensions/GNUmakefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in index 04b4071..2c92698 100644 --- a/extensions/GNUmakefile.in +++ b/extensions/GNUmakefile.in @@ -25,8 +25,9 @@ CFLAGS := @CFLAGS@ LDFLAGS := @LDFLAGS@ regular_CFLAGS := @regular_CFLAGS@ kinclude_CFLAGS := @kinclude_CFLAGS@ +xtables_CFLAGS := @xtables_CFLAGS@ -AM_CFLAGS := ${regular_CFLAGS} -I${top_srcdir}/include ${kinclude_CFLAGS} +AM_CFLAGS := ${regular_CFLAGS} -I${top_srcdir}/include ${xtables_CFLAGS} ${kinclude_CFLAGS} AM_DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@ ifeq (${V},)