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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux