From b7cf39f1b647480a006a016a508ebaac859eaf57 Mon Sep 17 00:00:00 2001 From: A2va <49582555+A2va@users.noreply.github.com> Date: Fri, 24 Nov 2023 09:31:19 +0100 Subject: [PATCH] Fix mingw with meson --- xmake/modules/package/tools/meson.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/modules/package/tools/meson.lua b/xmake/modules/package/tools/meson.lua index e1fa2656118..2a59fbb445e 100644 --- a/xmake/modules/package/tools/meson.lua +++ b/xmake/modules/package/tools/meson.lua @@ -307,7 +307,7 @@ function _get_configs(package, configs, opt) end -- add cross file - if package:is_cross() then + if package:is_cross() or package:is_plat("mingw") then table.insert(configs, "--cross-file=" .. _get_cross_file(package, opt)) end