diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/Rules.am | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/config/Rules.am b/config/Rules.am index 1e569d341..83fbf4ca0 100644 --- a/config/Rules.am +++ b/config/Rules.am @@ -3,7 +3,16 @@ # should include these rules and override or extend them as needed. # -DEFAULT_INCLUDES = -include ${top_builddir}/zfs_config.h +DEFAULT_INCLUDES = \ + -include ${top_builddir}/zfs_config.h \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/module/icp/include \ + -I$(top_srcdir)/lib/libspl/include + +if BUILD_LINUX +DEFAULT_INCLUDES += \ + -I$(top_srcdir)/lib/libspl/include/os/linux +endif AM_LIBTOOLFLAGS = --silent |