From 66786f7943ee83617cbe654103aa1d2fe7e33162 Mon Sep 17 00:00:00 2001 From: Arvind Sankar Date: Sun, 7 Jun 2020 18:35:49 -0400 Subject: Fix VPATH builds for user config cmd/zpool and lib/libzutil Makefile's use -I., which won't work with a VPATH build. Replace it with -I$(srcdir) instead. Reviewed-by: Brian Behlendorf Signed-off-by: Arvind Sankar Closes #10379 Closes #10421 --- lib/libzutil/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libzutil/Makefile.am') diff --git a/lib/libzutil/Makefile.am b/lib/libzutil/Makefile.am index 092312e0d..a41a765f0 100644 --- a/lib/libzutil/Makefile.am +++ b/lib/libzutil/Makefile.am @@ -3,7 +3,7 @@ include $(top_srcdir)/config/Rules.am # Suppress unused but set variable warnings often due to ASSERTs AM_CFLAGS += $(NO_UNUSED_BUT_SET_VARIABLE) -DEFAULT_INCLUDES += -I. +DEFAULT_INCLUDES += -I$(srcdir) noinst_LTLIBRARIES = libzutil.la -- cgit v1.2.3