diff options
| author | Kai Pastor <dg0yt@darc.de> | 2021-09-14 05:22:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-13 20:22:04 -0700 |
| commit | 49ce29005de4be249dc0cd0c663995064e9b2ed0 (patch) | |
| tree | 207d59fdfdd54272249a663c171c3eb855ca2d09 | |
| parent | b819a29dabeb467da5fb7762d3dea781785c590b (diff) | |
| download | vcpkg-49ce29005de4be249dc0cd0c663995064e9b2ed0.tar.gz vcpkg-49ce29005de4be249dc0cd0c663995064e9b2ed0.zip | |
Don't touch mingw static lib .a suffix (#20096)
| -rw-r--r-- | scripts/cmake/vcpkg_install_meson.cmake | 4 |
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) |
