[libvirt] [PATCH 05/16] examples: Don't look for headers in $(top_srcdir)

Andrea Bolognani abologna at redhat.com
Wed May 22 17:52:56 UTC 2019


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 <abologna at redhat.com>
---
 examples/Makefile.am | 1 -
 1 file changed, 1 deletion(-)

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)
 
-- 
2.21.0




More information about the libvir-list mailing list