Skip to content

Commit

Permalink
Add libnvpair to libzfs pkg-config
Browse files Browse the repository at this point in the history
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 openzfs#8919
  • Loading branch information
hjmallon authored and tonyhutter committed Aug 23, 2019
1 parent ba60c9d commit 9077837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libzfs/libzfs.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9077837

Please sign in to comment.