The previous commit broke the build during 'make check'; we want
to test the in-tree header, not some (potentially stale or missing)
installed header.
Signed-off-by: Eric Blake <eblake(a)redhat.com>
---
tests/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c2d473a..9076d6b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -103,7 +103,7 @@ check_PROGRAMS += \
test_cxx_SOURCES = test-cxx.cpp
test_cxx_CXXFLAGS = \
- $(WARNINGS_CFLAGS)
+ -I ../include $(WARNINGS_CFLAGS)
endif
# In-depth tests need libguestfs, since that is a convenient way to
--
2.9.3