[pcre] Fix x64-linux-dynamic build (#25671)

Co-authored-by: Osyotr <8740768+Osyotr@users.noreply.github.com>
This commit is contained in:
Osyotr 2022-07-12 02:25:36 +03:00 committed by GitHub
parent 7f49d67ef8
commit edf3441180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 5 deletions

View File

@ -67,10 +67,10 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/man")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/man")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE "${CURRENT_PACKAGES_DIR}/bin/pcre-config" "${CURRENT_PACKAGES_DIR}/debug/bin/pcre-config")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static" OR NOT VCPKG_TARGET_IS_WINDOWS)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
else()
file(REMOVE "${CURRENT_PACKAGES_DIR}/bin/pcre-config" "${CURRENT_PACKAGES_DIR}/debug/bin/pcre-config")
endif()
vcpkg_copy_pdbs()

View File

@ -1,9 +1,10 @@
{
"name": "pcre",
"version": "8.45",
"port-version": 4,
"port-version": 5,
"description": "Perl Compatible Regular Expressions",
"homepage": "https://www.pcre.org/",
"license": null,
"dependencies": [
{
"name": "vcpkg-cmake",

View File

@ -5402,7 +5402,7 @@
},
"pcre": {
"baseline": "8.45",
"port-version": 4
"port-version": 5
},
"pcre2": {
"baseline": "10.40",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7c8089ce40f585844a2ae5b9c80ba095b172d53d",
"version": "8.45",
"port-version": 5
},
{
"git-tree": "50ec11ace2145fac2b0b01dae365a6764f716c6e",
"version": "8.45",