All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch] iptables out-of-tree build directory
@ 2008-05-11 23:15 Henrik Nordstrom
  2008-05-12  8:28 ` Jan Engelhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Henrik Nordstrom @ 2008-05-11 23:15 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

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

[-- Attachment #2: out_of_tree_build.patch --]
[-- Type: text/x-patch, Size: 525 bytes --]

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},)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-12 15:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-11 23:15 [patch] iptables out-of-tree build directory Henrik Nordstrom
2008-05-12  8:28 ` Jan Engelhardt
2008-05-12  9:34   ` Henrik Nordstrom
2008-05-12 15:58   ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.