[libvirt] [PATCH] maint: Fix build with older automake

Eric Blake eblake at redhat.com
Tue Jan 8 03:55:32 UTC 2019


In a VPATH build, <config.h> is in the builddir, but it includes
<config-post.h> from the top source directory; hence, we need to
keep the -I(top_srcdir) directive that was accidentally removed
from commit 7a879323 (the problem is not visible in an in-tree
build).

Signed-off-by: Eric Blake <eblake at redhat.com>
---

Pushing as a build-breaker fix.

 gnulib/lib/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnulib/lib/Makefile.am b/gnulib/lib/Makefile.am
index 601f74073c..5669551afb 100644
--- a/gnulib/lib/Makefile.am
+++ b/gnulib/lib/Makefile.am
@@ -26,3 +26,5 @@ SUFFIXES =
 noinst_LTLIBRARIES =

 include gnulib.mk
+
+AM_CPPFLAGS = -I$(top_srcdir)
-- 
2.20.1




More information about the libvir-list mailing list