From c6445c7e401b348c5ca8afce229a1f4f45e9cf61 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 24 Jan 2024 22:34:48 +0800 Subject: fix ld kind --- xmake/modules/core/tools/clang.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++", -- cgit v1.3.1