summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/core/tools/clang.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua
index a34487686..0ca812f39 100644
--- a/xmake/modules/core/tools/clang.lua
+++ b/xmake/modules/core/tools/clang.lua
@@ -229,7 +229,7 @@ function nf_runtime(self, runtime)
["stdc++_static"] = "-stdlib=libstdc++",
["stdc++_shared"] = "-stdlib=libstdc++",
}
- else
+ elseif kind == "ld" or kind == "sh" then
maps = {
["c++_static"] = "-stdlib=libc++",
["c++_shared"] = "-stdlib=libc++",