aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Pastor <dg0yt@darc.de>2021-09-14 05:22:04 +0200
committerGitHub <noreply@github.com>2021-09-13 20:22:04 -0700
commit49ce29005de4be249dc0cd0c663995064e9b2ed0 (patch)
tree207d59fdfdd54272249a663c171c3eb855ca2d09
parentb819a29dabeb467da5fb7762d3dea781785c590b (diff)
downloadvcpkg-49ce29005de4be249dc0cd0c663995064e9b2ed0.tar.gz
vcpkg-49ce29005de4be249dc0cd0c663995064e9b2ed0.zip
Don't touch mingw static lib .a suffix (#20096)
-rw-r--r--scripts/cmake/vcpkg_install_meson.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cmake/vcpkg_install_meson.cmake b/scripts/cmake/vcpkg_install_meson.cmake
index 6310a96cd..3e89b457e 100644
--- a/scripts/cmake/vcpkg_install_meson.cmake
+++ b/scripts/cmake/vcpkg_install_meson.cmake
@@ -65,8 +65,8 @@ function(vcpkg_install_meson)
endif()
endforeach()
- set(RENAMED_LIBS)
- if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL static)
+ set(RENAMED_LIBS "")
+ if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL static AND NOT VCPKG_TARGET_IS_MINGW)
# Meson names all static libraries lib<name>.a which basically breaks the world
file(GLOB_RECURSE LIBRARIES "${CURRENT_PACKAGES_DIR}*/**/lib*.a")
foreach(_library IN LISTS LIBRARIES)