[PATCH] maint: Fix build with older automake

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

 



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

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