summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2023-02-27 15:16:55 -0800
committerGitHub <noreply@github.com>2023-02-27 15:16:55 -0800
commitda82fb5471f0b8cf098a4711b086c08a92f5357f (patch)
tree8af8581bc4953b712c05a1e8c7e7674926e6ca54
parenta7561e0eda0b204a364e347a38a856eb0fbbbb30 (diff)
parent3142fdba3258cce583e6590ca135e3b665c81c64 (diff)
downloadlibgit2-da82fb5471f0b8cf098a4711b086c08a92f5357f.tar.gz
Merge pull request #6514 from libgit2/ethomson/libgit2_pc
-rw-r--r--src/libgit2/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libgit2/CMakeLists.txt b/src/libgit2/CMakeLists.txt
index 3d1fb90ea..03b571212 100644
--- a/src/libgit2/CMakeLists.txt
+++ b/src/libgit2/CMakeLists.txt
@@ -103,10 +103,10 @@ if(SONAME)
endif()
endif()
-pkg_build_config(NAME "${LIBGIT2_FILENAME}"
+pkg_build_config(NAME "lib${LIBGIT2_FILENAME}"
VERSION ${libgit2_VERSION}
DESCRIPTION "The git library, take 2"
- LIBS_SELF git2
+ LIBS_SELF ${LIBGIT2_FILENAME}
PRIVATE_LIBS ${LIBGIT2_PC_LIBS}
REQUIRES ${LIBGIT2_PC_REQUIRES})