From cd87846e6e9f84a502c3f0dc60ba4ea686862c6a Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Mon, 13 Aug 2018 05:16:27 +0000 Subject: [PATCH] Install symlink for sys/nvpair.h in include/Makefile symlinks target Noticed while fixing the install/sysroot situation for libnvpair and libzfs_core- if one uses the symlinks target, libzfs_core.h is not installed. --- include/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/Makefile b/include/Makefile index 52750065ae23..73ce855469e5 100644 --- a/include/Makefile +++ b/include/Makefile @@ -384,6 +384,11 @@ symlinks: .PHONY .META ${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/rpc/$$h \ ${SDESTDIR}${INCLUDEDIR}/rpc; \ done +.if ${MK_CDDL} != "no" + ${INSTALL_SYMLINK} ${TAG_ARGS} \ + ../../../sys/cddl/contrib/opensolaris/uts/common/sys/nvpair.h \ + ${SDESTDIR}${INCLUDEDIR}/sys +.endif .if ${MK_MLX5TOOL} != "no" ${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/mlx5/mlx5io.h \ ${SDESTDIR}${INCLUDEDIR}/dev/mlx5