aboutsummaryrefslogtreecommitdiffstats
path: root/include/os/freebsd/spl/acl/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'include/os/freebsd/spl/acl/Makefile.am')
-rw-r--r--include/os/freebsd/spl/acl/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/os/freebsd/spl/acl/Makefile.am b/include/os/freebsd/spl/acl/Makefile.am
index 4aabfd357..3028ebabe 100644
--- a/include/os/freebsd/spl/acl/Makefile.am
+++ b/include/os/freebsd/spl/acl/Makefile.am
@@ -1,4 +1,7 @@
KERNEL_H = \
acl_common.h
-EXTRA_DIST = $(KERNEL_H)
+if CONFIG_KERNEL
+kerneldir = @prefix@/src/zfs-$(VERSION)/include/spl/acl
+kernel_HEADERS = $(KERNEL_H)
+endif