vcpkg_configure_meson: mingw build fix (#18026)

This commit is contained in:
pastdue 2021-05-24 18:09:58 -04:00 committed by GitHub
parent 8f6e982c35
commit 449b85b1e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ endfunction()
# Generates the required compiler properties for meson
function(vcpkg_internal_meson_generate_flags_properties_string _out_var _config)
if(VCPKG_TARGET_IS_WINDOWS)
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
set(L_FLAG /LIBPATH:)
else()
set(L_FLAG -L)