[gflags] Fix release-only build (#35373)

This commit is contained in:
Kai Pastor 2023-11-29 06:41:58 +01:00 committed by GitHub
parent e13d13cf84
commit 2e702554a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 3 deletions

View File

@ -26,7 +26,9 @@ vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/gflags)
if(NOT VCPKG_TARGET_IS_WINDOWS)
vcpkg_fixup_pkgconfig()
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/gflags.pc" "-lgflags" "-lgflags_debug")
if(NOT VCPKG_BUILD_TYPE)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/gflags.pc" "-lgflags" "-lgflags_debug")
endif()
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

View File

@ -1,7 +1,7 @@
{
"name": "gflags",
"version": "2.2.2",
"port-version": 8,
"port-version": 9,
"description": "A C++ library that implements commandline flags processing",
"homepage": "https://github.com/gflags/gflags",
"license": "BSD-3-Clause",

View File

@ -2934,7 +2934,7 @@
},
"gflags": {
"baseline": "2.2.2",
"port-version": 8
"port-version": 9
},
"ghc-filesystem": {
"baseline": "1.5.14",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a5da46db14e97a98ba1469ae46d14ce80308d5a8",
"version": "2.2.2",
"port-version": 9
},
{
"git-tree": "606a0a3ad49f6e6276672e230431e6797d56180e",
"version": "2.2.2",