summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-01-24 22:34:48 +0800
committerruki <[email protected]>2024-01-25 12:09:59 +0800
commitc6445c7e401b348c5ca8afce229a1f4f45e9cf61 (patch)
tree8827dc90a85328de71632d436002cbf8750f82a4
parent3b3b6c0c1b3bec273a4af6052ec98e17bbc8ac39 (diff)
fix ld kind
-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++",