From 45ad1a73829763f9a0ebe0f2c6f25d254697f0e6 Mon Sep 17 00:00:00 2001 From: James Simmons Date: Thu, 1 Feb 2018 14:37:06 -0500 Subject: [PATCH] LU-10536 build: add path for libnvpair to zfslib For the case of building lustre against the ZFS source tree instead of an ZFS installation on the node we need to add the path $zfssrc/lib/libnvpair/.libs so mount.lustre can link to the library. Test-Parameters: trivial Change-Id: Id08cc3aed1bc201611fb9382d2f53e40e69f9544 Signed-off-by: James Simmons Reviewed-on: https://review.whamcloud.com/31128 Tested-by: Jenkins Reviewed-by: John L. Hammond Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Nathaniel Clark Reviewed-by: Oleg Drokin --- config/lustre-build-zfs.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/lustre-build-zfs.m4 b/config/lustre-build-zfs.m4 index f036d46..07f00dc 100644 --- a/config/lustre-build-zfs.m4 +++ b/config/lustre-build-zfs.m4 @@ -323,7 +323,7 @@ AC_DEFUN([LB_ZFS_USER], [ AS_IF([test -z "${zfsinc}"], [ AS_IF([test -e "${zfssrc}/include/libzfs.h" && test -e "${zfssrc}/lib/libspl/include"], [ zfsinc="-I $zfssrc/lib/libspl/include -I $zfssrc/include" - zfslib="-L$zfssrc/lib/libzfs/.libs/" + zfslib="-L$zfssrc/lib/libzfs/.libs/ -L$zfssrc/lib/libnvpair/.libs" ], [test -d /usr/include/libzfs && test -d /usr/include/libspl], [ zfsinc="-I/usr/include/libspl -I /usr/include/libzfs" zfslib="" -- 1.8.3.1