]> xenbits.xensource.com Git - libvirt.git/commitdiff
maint: Fix VPATH build
authorEric Blake <eblake@redhat.com>
Tue, 8 Jan 2019 03:50:08 +0000 (21:50 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 8 Jan 2019 03:56:16 +0000 (21:56 -0600)
In a VPATH build, <config.h> is in the builddir (which automake
includes automatically), but it includes <config-post.h> from the
top source directory (which is not automatic); 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>
gnulib/lib/Makefile.am

index 601f74073cb0a360611e514774a7c2110181e2b0..5669551afb3875dcfadfa3c78cb1092a5ceb3155 100644 (file)
@@ -26,3 +26,5 @@ SUFFIXES =
 noinst_LTLIBRARIES =
 
 include gnulib.mk
+
+AM_CPPFLAGS = -I$(top_srcdir)