]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
Makefile: add missing xtables_CFLAGS variable
authorJan Engelhardt <jengelh@computergmbh.de>
Tue, 4 Mar 2008 23:19:15 +0000 (00:19 +0100)
committerJan Engelhardt <jengelh@computergmbh.de>
Tue, 4 Mar 2008 23:19:15 +0000 (00:19 +0100)
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

index 04b4071bff8a9578ac5ea31a1cae12f74f5ac4a0..2c926984aa0b63b3f4f56838800392d8d26658aa 100644 (file)
@@ -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},)