[dbus PATCH 07/15] tests: Move includes to AM_CPPFLAGS

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

 



Includes should be part of *_CPPFLAGS, not *_CFLAGS; since
we have to move the include around anyway, might as well
make it global instead of limiting it to the single test
binary we're building at the moment.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 tests/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index bf2dbbc..03d51aa 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,3 +1,7 @@
+AM_CPPFLAGS = \
+	-I$(top_srcdir)/src \
+	$(NULL)
+
 test_helpers = \
 	xmldata.py \
 	libvirttest.py \
@@ -16,7 +20,6 @@ check_PROGRAMS = \
 test_util_SOURCES = \
 	test_util.c $(top_srcdir)/src/util.c
 test_util_CFLAGS = \
-	-I$(top_srcdir)/src \
 	$(GIO2_CFLAGS) \
 	$(GLIB2_CFLAGS) \
 	$(LIBVIRT_CFLAGS)
-- 
2.17.1

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