Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix VPATH builds for user config
Browse files Browse the repository at this point in the history
cmd/zpool and lib/libzutil Makefile's use -I., which won't work with a
VPATH build. Replace it with -I$(srcdir) instead.

Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
nivedita76 committed Jun 9, 2020
1 parent a83d91f commit d704d68
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/zpool/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include $(top_srcdir)/config/Rules.am

DEFAULT_INCLUDES += -I.
DEFAULT_INCLUDES += -I$(srcdir)

sbin_PROGRAMS = zpool

2 changes: 1 addition & 1 deletion lib/libzutil/Makefile.am
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d704d68

Please sign in to comment.