examples: compile with `make check' and add AM_CPPFLAGS
Pablo Neira Ayuso
maintainerPATCH 1/1 examples: compile with `make check' and add AM_CPPFLAGS
Compile examples via `make check' like libnftnl does. Use AM_CPPFLAGS to specify local headers via -I.
Signed-off-by Pablo Neira Ayuso <[email protected]>
--- examples/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
examples/Makefile.am +3 -1
@@ -1,4 +1,6 @@ -noinst_PROGRAMS = nft-buffer \ +check_PROGRAMS = nft-buffer \ nft-json-file +AM_CPPFLAGS = -I$(top_srcdir)/include + LDADD = $(top_builddir)/src/libnftables.la
Signature · 1 line
2.30.2