Commit 3142fdba by Edward Thomson

meta: configure pkg-config .pc correctly

The library name is correctly libgit2 (not git2) or libgit2-experimental
depending on configuration.
parent 44d3372e
......@@ -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})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment