* [iptables PATCH v2] build: Fix error during out of tree build
@ 2022-05-25 15:26 Ben Brown
2022-05-25 17:11 ` Phil Sutter
2022-05-26 9:10 ` Jan Engelhardt
0 siblings, 2 replies; 3+ messages in thread
From: Ben Brown @ 2022-05-25 15:26 UTC (permalink / raw)
To: netfilter-devel
Fixes the following error:
../../libxtables/xtables.c:52:10: fatal error: libiptc/linux_list.h: No such file or directory
52 | #include <libiptc/linux_list.h>
Fixes: f58b0d7406451 ("libxtables: Implement notargets hash table")
Signed-off-by: Ben Brown <ben@demerara.io>
---
libxtables/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libxtables/Makefile.am b/libxtables/Makefile.am
index 8ff6b0ca..3bfded85 100644
--- a/libxtables/Makefile.am
+++ b/libxtables/Makefile.am
@@ -1,7 +1,7 @@
# -*- Makefile -*-
AM_CFLAGS = ${regular_CFLAGS}
-AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include -I${top_srcdir}/iptables ${kinclude_CPPFLAGS}
+AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include -I${top_srcdir}/iptables -I${top_srcdir} ${kinclude_CPPFLAGS}
lib_LTLIBRARIES = libxtables.la
libxtables_la_SOURCES = xtables.c xtoptions.c getethertype.c
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [iptables PATCH v2] build: Fix error during out of tree build
2022-05-25 15:26 [iptables PATCH v2] build: Fix error during out of tree build Ben Brown
@ 2022-05-25 17:11 ` Phil Sutter
2022-05-26 9:10 ` Jan Engelhardt
1 sibling, 0 replies; 3+ messages in thread
From: Phil Sutter @ 2022-05-25 17:11 UTC (permalink / raw)
To: Ben Brown; +Cc: netfilter-devel
On Wed, May 25, 2022 at 04:26:13PM +0100, Ben Brown wrote:
> Fixes the following error:
>
> ../../libxtables/xtables.c:52:10: fatal error: libiptc/linux_list.h: No such file or directory
> 52 | #include <libiptc/linux_list.h>
>
> Fixes: f58b0d7406451 ("libxtables: Implement notargets hash table")
>
> Signed-off-by: Ben Brown <ben@demerara.io>
Applied, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [iptables PATCH v2] build: Fix error during out of tree build
2022-05-25 15:26 [iptables PATCH v2] build: Fix error during out of tree build Ben Brown
2022-05-25 17:11 ` Phil Sutter
@ 2022-05-26 9:10 ` Jan Engelhardt
1 sibling, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2022-05-26 9:10 UTC (permalink / raw)
To: Ben Brown; +Cc: netfilter-devel
On Wednesday 2022-05-25 17:26, Ben Brown wrote:
>diff --git a/libxtables/Makefile.am b/libxtables/Makefile.am
>index 8ff6b0ca..3bfded85 100644
>--- a/libxtables/Makefile.am
>+++ b/libxtables/Makefile.am
>@@ -1,7 +1,7 @@
> # -*- Makefile -*-
>
> AM_CFLAGS = ${regular_CFLAGS}
>-AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include -I${top_srcdir}/iptables ${kinclude_CPPFLAGS}
>+AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include -I${top_srcdir}/iptables -I${top_srcdir} ${kinclude_CPPFLAGS}
I wouldn't have done it any other way.
(Looks good.)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-26 9:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25 15:26 [iptables PATCH v2] build: Fix error during out of tree build Ben Brown
2022-05-25 17:11 ` Phil Sutter
2022-05-26 9:10 ` Jan Engelhardt
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.