From a914429dee256d88902bde6a7058bcaf81d0b629 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 4 Feb 2024 23:12:04 +0800 Subject: Update meson.lua --- xmake/modules/package/tools/meson.lua | 8 ++++---- 1 file 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 -- cgit v1.3.1