diff options
| author | ruki <[email protected]> | 2024-01-22 22:43:29 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-01-25 12:09:58 +0800 |
| commit | a74bb4c14a8eda9c70062c1c6f592f2474672b71 (patch) | |
| tree | 6ee4ec8ba24c424ad63538d296ee1779dace8998 /xmake/modules/core/tools | |
| parent | ecd32a1463825b40a6dc69695bbb0276b7236ae7 (diff) | |
improve android runtimes
Diffstat (limited to 'xmake/modules/core/tools')
| -rw-r--r-- | xmake/modules/core/tools/clang.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua index 7e1f37b8d..673500599 100644 --- a/xmake/modules/core/tools/clang.lua +++ b/xmake/modules/core/tools/clang.lua @@ -206,8 +206,7 @@ function nf_runtime(self, runtime) } end return maps and maps[runtime] - else - --[[ + elseif not self:is_plat("android") then -- we will set runtimes in android ndk toolchain local maps if kind == "cxx" then maps = { @@ -223,7 +222,7 @@ function nf_runtime(self, runtime) ["stdc++_static"] = {"-stdlib=libstdc++", "-static-libstdc++"}, ["stdc++_shared"] = "-stdlib=libstdc++", } - end]] + end return maps and maps[runtime] end end |
