diff options
| author | ruki <[email protected]> | 2024-01-23 22:55:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-01-25 12:09:58 +0800 |
| commit | 229bccd5eeca9fb6da8b93c76d0d13f9c2b85314 (patch) | |
| tree | 0f0020912c9a12b958e986c8832cae099bf45f54 /xmake/modules/package/tools/meson.lua | |
| parent | 2fb724f49f1ededb23998688c90ba01ec0d12467 (diff) | |
remove more vs_runtime
Diffstat (limited to 'xmake/modules/package/tools/meson.lua')
| -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 56fc35bc4..e4d740d16 100644 --- a/xmake/modules/package/tools/meson.lua +++ b/xmake/modules/package/tools/meson.lua @@ -316,10 +316,10 @@ function _get_configs(package, configs, opt) table.insert(configs, "-Db_sanitize=address") end - -- add vs_runtime flags - local vs_runtime = package:config("vs_runtime") - if package:is_plat("windows") and vs_runtime then - table.insert(configs, "-Db_vscrt=" .. vs_runtime:lower()) + -- add runtimes flags + local runtimes = package:runtimes() + if package:is_plat("windows") and runtimes then + table.insert(configs, "-Db_vscrt=" .. runtimes:lower()) end -- add cross file |
