diff options
| -rw-r--r-- | xmake/modules/package/tools/meson.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/meson.lua b/xmake/modules/package/tools/meson.lua index ebfdce69a..1a72eb913 100644 --- a/xmake/modules/package/tools/meson.lua +++ b/xmake/modules/package/tools/meson.lua @@ -51,7 +51,7 @@ function _get_configs(package, configs, opt) -- add vs_runtime flags if package:is_plat("windows") then - table.insert(configs, "-Db_vscrt=" .. (package:config("vs_runtime"):startswith("MT") and "mt" or "md")) + table.insert(configs, "-Db_vscrt=" .. package:config("vs_runtime"):lower()) end -- add build directory |
