diff options
| -rw-r--r-- | xmake/modules/package/tools/meson.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/meson.lua b/xmake/modules/package/tools/meson.lua index 6a0463492..a50579bbd 100644 --- a/xmake/modules/package/tools/meson.lua +++ b/xmake/modules/package/tools/meson.lua @@ -104,6 +104,12 @@ function _get_cross_file(package, opt) if ranlib then file:print("ranlib='%s'", ranlib) end + if package:is_plat("mingw") then + local mrc = package:build_getenv("mrc") + if mrc then + file:print("windres='%s'", mrc) + end + end local cmake = find_tool("cmake") if cmake then file:print("cmake='%s'", cmake.program) |
