aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
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 /cmd
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 'cmd')
-rw-r--r--cmd/zpool/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zpool/Makefile.am b/cmd/zpool/Makefile.am
index 5efa13184..157fed2e0 100644
--- a/cmd/zpool/Makefile.am
+++ b/cmd/zpool/Makefile.am
@@ -1,6 +1,6 @@
include $(top_srcdir)/config/Rules.am
-DEFAULT_INCLUDES += -I.
+DEFAULT_INCLUDES += -I$(srcdir)
sbin_PROGRAMS = zpool