mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-27 21:39:34 +00:00
As said in [1], unwinder is linked automatically by Clang and shared library must not re-export it. ndk after r23 (we are using r21) should be this. Else we must take care to not re-export it. From [2], we should pass the flags `Wl,--exclude-libs,libgcc.a` and `-Wl,--exclude-libs,libunwind.a` to avoid re-export `_Unwind_Resume` methods. Fix https://github.com/kiwix/kiwix-android/issues/3661 [1] https://android.googlesource.com/platform/ndk/+/master/docs/BuildSystemMaintainers.md#Unwinding [2] https://github.com/android/ndk/issues/889#issuecomment-464334469