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

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



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


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