diff options
| author | ruki <[email protected]> | 2026-07-25 00:05:29 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-07-25 00:05:29 +0800 |
| commit | 61e367683e5a92b6ee354322017a54dbc4c9641b (patch) | |
| tree | 806492ea68e05b291650c9cd01531e4b6a52c0f4 | |
| parent | 64439096a06b65556fff59f3b0b4e6a439b44129 (diff) | |
revert static libc++ link for clangclang
| -rw-r--r-- | xmake/modules/core/tools/clang.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua index 1250d1a46..d9d6512ee 100644 --- a/xmake/modules/core/tools/clang.lua +++ b/xmake/modules/core/tools/clang.lua @@ -285,6 +285,7 @@ function nf_runtime(self, runtime, opt) end end if runtime:endswith("_static") and _has_static_libstdcxx(self) then + maps["c++_static"] = table.join(maps["c++_static"], "-static-libstdc++") maps["stdc++_static"] = table.join(maps["stdc++_static"], "-static-libstdc++") end end |
