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 <[email protected]>
---
 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

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to