mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-02 06:56:45 +00:00

When linking statically, the including project needs to know what the current library build depends on so they can link to it. Store this information in the pkg-config file. While here, remove claims that users need to link to zlib or libcrypto.
11 lines
311 B
PkgConfig
11 lines
311 B
PkgConfig
libdir=@CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@
|
|
includedir=@CMAKE_INSTALL_PREFIX@/@INCLUDE_INSTALL_DIR@
|
|
|
|
Name: libgit2
|
|
Description: The git library, take 2
|
|
Version: @LIBGIT2_VERSION_STRING@
|
|
Requires.private: @LIBGIT2_PC_REQUIRES@
|
|
Libs.private: @LIBGIT2_PC_LIBS@
|
|
Libs: -L${libdir} -lgit2
|
|
Cflags: -I${includedir}
|