summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Mallon <1816667+hjmallon@users.noreply.github.com>2019-06-23 00:43:11 +0100
committerBrian Behlendorf <behlendorf1@llnl.gov>2019-06-22 16:43:11 -0700
commit8b14cb46bf0bd8be08ab11686ae5b87d74433c52 (patch)
tree687156ee3c5edabb101b98ad9e978eb1a8356d50
parenta9cd8bfde73a78a0ba02e25b712fe28d11019191 (diff)
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 <behlendorf1@llnl.gov> Signed-off-by: Harry Mallon <hjmallon@gmail.com> Closes #8919
-rw-r--r--lib/libzfs/libzfs.pc.in2
1 files changed, 1 insertions, 1 deletions
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