summaryrefslogtreecommitdiffstats
path: root/lib/libzutil/Makefile.am
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-06-07 18:35:49 -0400
committerBrian Behlendorf <[email protected]>2020-06-10 09:25:37 -0700
commit66786f7943ee83617cbe654103aa1d2fe7e33162 (patch)
tree2dfcf6ccc5cb9004d2a6e3d92cd5054aeb373231 /lib/libzutil/Makefile.am
parent71504277ae5537007a99864e53a3b5ceb211a660 (diff)
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 <[email protected]> Signed-off-by: Arvind Sankar <[email protected]> Closes #10379 Closes #10421
Diffstat (limited to 'lib/libzutil/Makefile.am')
-rw-r--r--lib/libzutil/Makefile.am2
1 files changed, 1 insertions, 1 deletions
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