mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
a037d82649
* [vcpkg] vcpkg_configure_meson: cross-compile fixes This change includes two fixes to the meson cross-compile config. The first change fixes the regex used to partition linker flag options so that it supports double-hyphen prefixes. The second change ensures that the cross file is always generated when the target platform is either Android or iOS, even if the host and target CPU architectures are the same. * Use helper function instead of regex replace Use vcpkg_internal_meson_convert_compiler_flags_to_list to partition compiler flags into a list, instead of string(REGEX REPLACE ...).