summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-02-04 23:12:04 +0800
committerGitHub <[email protected]>2024-02-04 23:12:04 +0800
commita914429dee256d88902bde6a7058bcaf81d0b629 (patch)
tree2f34c65db3eb1b56e8a14522b9178f997c0869d9
parent0b1a758fe7f4432bc82c5ddb178d9d2e1c6b9d9d (diff)
Update meson.lua
-rw-r--r--xmake/modules/package/tools/meson.lua8
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