From 68637834ec5723f19656ac9ec12e86b5b86bd9c3 Mon Sep 17 00:00:00 2001 From: Jérôme Leclercq Date: Mon, 24 Jun 2024 09:48:06 +0200 Subject: Revert wrong change in ebc4520b6ce93e6f31d6885f5f5820f5992962ee --- xmake/toolchains/ndk/load.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmake/toolchains/ndk/load.lua b/xmake/toolchains/ndk/load.lua index 5525d00d2..98c08faa5 100644 --- a/xmake/toolchains/ndk/load.lua +++ b/xmake/toolchains/ndk/load.lua @@ -321,8 +321,8 @@ function main(toolchain) -- The NDK's libc++ now comes directly from our LLVM toolchain above 26b -- https://github.com/xmake-io/xmake/issues/4614 if ndk_cxxstl == "c++_static" then - toolchain:add("ldflags", "-static-libstdc++") - toolchain:add("shflags", "-static-libstdc++") + toolchain:add("ldflags", "-static-libstdc++", "-lc++abi") + toolchain:add("shflags", "-static-libstdc++", "-lc++abi") if arm32 then toolchain:add("syslinks", "unwind", "atomic") end -- cgit v1.3.1