diff options
| author | ruki <[email protected]> | 2026-07-24 21:54:09 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-07-24 21:54:09 +0800 |
| commit | 02c5bc24bac4c27826610aa5d7d2ea422ff73826 (patch) | |
| tree | f093cc498f3907fe17103bd268b0ddf92a706dcc | |
| parent | c5874deb17f61381d14a6e148488d61c63c8f78f (diff) | |
| parent | 61e367683e5a92b6ee354322017a54dbc4c9641b (diff) | |
Merge pull request #7661 from xmake-io/clang
fix clang c++_static runtime
| -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 |
