diff options
| author | ruki <[email protected]> | 2025-12-18 15:07:54 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-18 15:07:54 +0800 |
| commit | 67019f3310fe67e365c24df2a47806bf3fd947e5 (patch) | |
| tree | 54c91c9642350220003ebaaddedbc2303add1cd7 /xmake/rules/utils/compiler_runtime/xmake.lua | |
| parent | a33624639549e6dda946a810f175fc0e9cfc79b3 (diff) | |
| parent | 2ff05c59d4c3aa6b23b8d521d9173c0860109019 (diff) | |
Merge pull request #7145 from xmake-io/clangrt
Improve clang runtime
Diffstat (limited to 'xmake/rules/utils/compiler_runtime/xmake.lua')
| -rw-r--r-- | xmake/rules/utils/compiler_runtime/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/utils/compiler_runtime/xmake.lua b/xmake/rules/utils/compiler_runtime/xmake.lua index 6a59d7ace..756bd55f8 100644 --- a/xmake/rules/utils/compiler_runtime/xmake.lua +++ b/xmake/rules/utils/compiler_runtime/xmake.lua @@ -44,7 +44,7 @@ rule("utils.compiler.runtime") -- enable vs runtime as MD by default if target:is_plat("windows") and not target:get("runtimes") then local vs_runtime_default = target:policy("build.c++.msvc.runtime") - if vs_runtime_default and target:has_tool("cxx", "cl", "clang", "clang_cl") then + if vs_runtime_default and target:has_tool("cxx", "cl", "clang", "clangxx", "clang_cl") then if is_mode("debug") then vs_runtime_default = vs_runtime_default .. "d" end |
