From: Andrea Bolognani Date: Wed, 22 May 2019 17:12:15 +0000 (+0200) Subject: examples: Don't look for headers in $(top_srcdir) X-Git-Tag: v5.5.0-rc1~380 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9469bb37100e0ba8df17be5ecb12750fb06890fd;p=thirdparty%2Flibvirt.git examples: Don't look for headers in $(top_srcdir) The C programs in this directory are supposed to be only using public functions, so having $(top_srcdir) in the header search path is unnecessary at best and actively harmful at worst. Signed-off-by: Andrea Bolognani Acked-by: Michal Privoznik --- diff --git a/examples/Makefile.am b/examples/Makefile.am index 4c04bd35be..d83104a130 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -29,7 +29,6 @@ EXTRA_DIST = \ AM_CPPFLAGS = \ -I$(top_builddir)/include \ -I$(top_srcdir)/include \ - -I$(top_srcdir) \ $(WARN_CFLAGS) \ $(NULL)