From 3cd33ffc3ba1ebbc90eab280d87d6ac096be92f9 Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Fri, 29 Aug 2014 11:53:09 -0400 Subject: Kernel header installation should respect --prefix This is the upstream component of work that enables preliminary support for building Gentoo's ZFS packaging on other Linux systems via Gentoo Prefix. Signed-off-by: Richard Yao Signed-off-by: Brian Behlendorf Issue #2641 --- include/sys/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sys/Makefile.am') diff --git a/include/sys/Makefile.am b/include/sys/Makefile.am index 8f01660cb..a755b394d 100644 --- a/include/sys/Makefile.am +++ b/include/sys/Makefile.am @@ -99,6 +99,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H) endif if CONFIG_KERNEL -kerneldir = /usr/src/zfs-$(VERSION)/include/sys +kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys kernel_HEADERS = $(COMMON_H) $(KERNEL_H) endif -- cgit v1.2.3