From 8b14cb46bf0bd8be08ab11686ae5b87d74433c52 Mon Sep 17 00:00:00 2001 From: Harry Mallon <1816667+hjmallon@users.noreply.github.com> Date: Sun, 23 Jun 2019 00:43:11 +0100 Subject: [PATCH] Add libnvpair to libzfs pkg-config Functions such as `fnvlist_lookup_nvlist` need libnvpair to be linked. Default pkg-config file did not contain it. Reviewed-by: Brian Behlendorf Signed-off-by: Harry Mallon Closes #8919 --- lib/libzfs/libzfs.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libzfs/libzfs.pc.in b/lib/libzfs/libzfs.pc.in index 0e83f7a64..1122401a6 100644 --- a/lib/libzfs/libzfs.pc.in +++ b/lib/libzfs/libzfs.pc.in @@ -9,4 +9,4 @@ Version: @VERSION@ URL: http://zfsonlinux.org Requires: libzfs_core Cflags: -I${includedir}/libzfs -I${includedir}/libspl -Libs: -L${libdir} -lzfs +Libs: -L${libdir} -lzfs -lnvpair