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
This commit is contained in:
Harry Mallon 2019-06-23 00:43:11 +01:00 committed by Tony Hutter
parent 95fcb04215
commit 2d88230d97

View File

@ -9,4 +9,4 @@ Version: @VERSION@
URL: http://zfsonlinux.org URL: http://zfsonlinux.org
Requires: libzfs_core Requires: libzfs_core
Cflags: -I${includedir}/libzfs -I${includedir}/libspl Cflags: -I${includedir}/libzfs -I${includedir}/libspl
Libs: -L${libdir} -lzfs Libs: -L${libdir} -lzfs -lnvpair