mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 02:42:48 +08:00
Don't touch mingw static lib .a suffix (#20096)
This commit is contained in:
parent
b819a29dab
commit
49ce29005d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user