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 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