From f3a4fbd24bf41a74c3dbbb36c7de88e08c1bc7fd Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 7 Jan 2019 21:50:08 -0600 Subject: [PATCH] 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 --- 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)