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

Eric Blake posted 1 patch 1 week ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190108035532.8757-1-eblake@redhat.com
gnulib/lib/Makefile.am | 2 ++
1 file changed, 2 insertions(+)

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

Posted by Eric Blake 1 week ago
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@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list