From ef55446a9ce6a666eb843126eca8a715ff3bb0d6 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Fri, 4 Sep 2020 14:11:18 -0400 Subject: Spruce up pkg-config files for libzfs/libzfs_core Several of the listed library dependencies are not relevant on FreeBSD. Have ./configure save libraries that are found via pkg-config as ${LIB}_PC and use the configured automake variables instead of hard coded names so we only get what was actually needed. While here, update the URL to point at the OpenZFS Github repo. Reviewed-by: Brian Behlendorf Signed-off-by: Ryan Moeller Closes #10869 --- lib/libzfs/libzfs.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libzfs') diff --git a/lib/libzfs/libzfs.pc.in b/lib/libzfs/libzfs.pc.in index 6caf49d22..afe5635ae 100644 --- a/lib/libzfs/libzfs.pc.in +++ b/lib/libzfs/libzfs.pc.in @@ -6,9 +6,9 @@ includedir=@includedir@ Name: libzfs Description: LibZFS library Version: @VERSION@ -URL: https://zfsonlinux.org +URL: https://github.com/openzfs/zfs Requires: libzfs_core -Requires.private: libcrypto zlib +Requires.private: @LIBCRYPTO_PC@ @ZLIB_PC@ Cflags: -I${includedir}/libzfs -I${includedir}/libspl Libs: -L${libdir} -lzfs -lnvpair Libs.private: -luutil -lm -pthread -- cgit v1.2.3