summaryrefslogtreecommitdiff
path: root/xmake/rules/utils/compiler_runtime/xmake.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2025-11-04 12:42:45 +0100
committerruki <[email protected]>2025-12-18 09:31:43 +0800
commit5dcd669f6e3017d6939af6fd391803c13395406a (patch)
treeb556d829a3e874be558ac16a29708bc321acfd6f /xmake/rules/utils/compiler_runtime/xmake.lua
parent7a1be435eef977b88a2855df9bafc4ebeca1843e (diff)
fix(llvm) fix nf_runtime clang
Diffstat (limited to 'xmake/rules/utils/compiler_runtime/xmake.lua')
-rw-r--r--xmake/rules/utils/compiler_runtime/xmake.lua2
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