mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
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 <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10869
This commit is contained 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
|
||||
|
||||
Reference in New Issue
Block a user