mirror of https://github.com/openzfs/zfs.git
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 <behlendorf1@llnl.gov> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Closes #10379 Closes #10421
This commit is contained in:
parent
71504277ae
commit
66786f7943
|
@ -1,6 +1,6 @@
|
|||
include $(top_srcdir)/config/Rules.am
|
||||
|
||||
DEFAULT_INCLUDES += -I.
|
||||
DEFAULT_INCLUDES += -I$(srcdir)
|
||||
|
||||
sbin_PROGRAMS = zpool
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue