All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] build: add missing AM_CPPFLAGS to examples/
@ 2022-02-22  4:46 Jan Engelhardt
  2022-02-22  7:34 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2022-02-22  4:46 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel

examples$ make V=1
depbase=`echo nft-buffer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT nft-buffer.o -MD -MP -MF $depbase.Tpo -c -o nft-buffer.o nft-buffer.c &&\
mv -f $depbase.Tpo $depbase.Po
nft-buffer.c:3:10: fatal error: nftables/libnftables.h: No such file or directory

Signed-off-by: Jan Engelhardt <jengelh@inai.de>
---
 nftables 1.0.2 would not build successfully by default.

 examples/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/Makefile.am b/examples/Makefile.am
index c972170d..d7234ce4 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,3 +1,4 @@
+AM_CPPFLAGS = -I$(top_srcdir)/include
 noinst_PROGRAMS	= nft-buffer		\
 		  nft-json-file
 
-- 
2.35.1


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

end of thread, other threads:[~2022-02-22  7:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-22  4:46 [PATCH] build: add missing AM_CPPFLAGS to examples/ Jan Engelhardt
2022-02-22  7:34 ` Pablo Neira Ayuso

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.