diff options
| -rw-r--r-- | xmake/modules/package/tools/meson.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/package/tools/meson.lua b/xmake/modules/package/tools/meson.lua index 5d023b7f3..d567d9cb5 100644 --- a/xmake/modules/package/tools/meson.lua +++ b/xmake/modules/package/tools/meson.lua @@ -319,13 +319,13 @@ function _get_configs(package, configs, opt) -- add runtimes flags if package:is_plat("windows") then if package:has_runtime("MT") then - table.insert(configs, "-Db_vscrt=MT") + table.insert(configs, "-Db_vscrt=mt") elseif package:has_runtime("MTd") then - table.insert(configs, "-Db_vscrt=MTd") + table.insert(configs, "-Db_vscrt=mtd") elseif package:has_runtime("MD") then - table.insert(configs, "-Db_vscrt=MD") + table.insert(configs, "-Db_vscrt=md") elseif package:has_runtime("MDd") then - table.insert(configs, "-Db_vscrt=MDd") + table.insert(configs, "-Db_vscrt=mdd") end end |
