Skip to content

Commit

Permalink
Merge pull request #4421 from A2va/fix-mingw-meson
Browse files Browse the repository at this point in the history
Fix mingw with meson
  • Loading branch information
waruqi authored Nov 24, 2023
2 parents 6b400aa + b7cf39f commit 16f74fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/modules/package/tools/meson.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 16f74fe

Please sign in to comment.