Skip to content

Commit

Permalink
[scripts] Fix meson for mingw (#27380)
Browse files Browse the repository at this point in the history
* Fix mingw

* Remove invalid transformation

Co-authored-by: Alexander Neumann <[email protected]>

Co-authored-by: Alexander Neumann <[email protected]>
Co-authored-by: Billy Robert O'Neal III <[email protected]>
  • Loading branch information
3 people authored Oct 26, 2022
1 parent f3ab3f6 commit a1af533
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/cmake/vcpkg_configure_meson.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,6 @@ function(z_vcpkg_meson_setup_extra_windows_variables config_type)
## winlibs
separate_arguments(c_winlibs NATIVE_COMMAND "${VCPKG_DETECTED_CMAKE_C_STANDARD_LIBRARIES}")
separate_arguments(cpp_winlibs NATIVE_COMMAND "${VCPKG_DETECTED_CMAKE_CXX_STANDARD_LIBRARIES}")
list(TRANSFORM c_winlibs REPLACE "^(-|/)" "")
list(TRANSFORM cpp_winlibs REPLACE "^(-|/)" "")
z_vcpkg_meson_convert_list_to_python_array(c_winlibs ${c_winlibs})
z_vcpkg_meson_convert_list_to_python_array(cpp_winlibs ${cpp_winlibs})
set(MESON_WINLIBS "c_winlibs = ${c_winlibs}\n")
Expand Down

0 comments on commit a1af533

Please sign in to comment.