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 behlendorf committed Jun 22, 2019
1 parent a9cd8bf commit 8b14cb4
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 8b14cb4

Please sign in to comment.