Skip to content

Commit

Permalink
Fix mingw with meson
Browse files Browse the repository at this point in the history
  • Loading branch information
A2va committed Nov 24, 2023
1 parent 6b400aa commit b7cf39f
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 b7cf39f

Please sign in to comment.