]> granicus.if.org Git - zfs/commitdiff
Add libnvpair to libzfs pkg-config
authorHarry Mallon <1816667+hjmallon@users.noreply.github.com>
Sat, 22 Jun 2019 23:43:11 +0000 (00:43 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 22 Jun 2019 23:43:11 +0000 (16:43 -0700)
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

lib/libzfs/libzfs.pc.in

index 0e83f7a64be00e61c95d4a432457b6f080c94f56..1122401a6eb9c6ec35d61e477b7aefb3760ec461 100644 (file)
@@ -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