[patch] iptables out-of-tree build directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The attached patch fixes iptables out-of-tree compiles which otherwise
failed in extensions/ complaining about not finding xtables.h


mkdir build
cd build
../iptables/configure
make

Regards
Henrik
Index: extensions/GNUmakefile.in
===================================================================
--- extensions/GNUmakefile.in	(revision 7519)
+++ extensions/GNUmakefile.in	(working copy)
@@ -16,7 +16,7 @@
 regular_CFLAGS := @regular_CFLAGS@
 kinclude_CFLAGS := @kinclude_CFLAGS@
 
-AM_CFLAGS      := ${regular_CFLAGS} -I${top_srcdir}/include ${kinclude_CFLAGS}
+AM_CFLAGS      := ${regular_CFLAGS} -I${top_srcdir}/include -I../include ${kinclude_CFLAGS}
 AM_DEPFLAGS     = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@
 
 ifeq (${V},)

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux