From: Eric Blake Date: Tue, 8 Jan 2019 03:50:08 +0000 (-0600) Subject: maint: Fix VPATH build X-Git-Tag: v5.0.0-rc1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3a4fbd24bf41a74c3dbbb36c7de88e08c1bc7fd;p=thirdparty%2Flibvirt.git maint: Fix VPATH build In a VPATH build, is in the builddir (which automake includes automatically), but it includes 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 --- 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)