kiwix-build/kiwixbuild/configs
Matthieu Gautier b1f7beef4f Exclude libgcc and libunwind from linked libraries on Android.
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
2024-06-04 15:12:40 +02:00
..
__init__.py Rename option `--target-platform` to `--config` 2024-02-05 18:03:11 +01:00
android.py Exclude libgcc and libunwind from linked libraries on Android. 2024-06-04 15:12:40 +02:00
armhf.py Add almalinux as compatible host for native and aarch config 2024-06-03 10:43:37 +02:00
base.py Do not pollute stdout with warning and trace. 2024-04-08 16:50:10 +02:00
flatpak.py Introduce arch_name to name build dir base on arch name instead of config. 2024-04-08 16:50:03 +02:00
i586.py Rename option `--target-platform` to `--config` 2024-02-05 18:03:11 +01:00
ios.py Introduce arch_name to name build dir base on arch name instead of config. 2024-04-08 16:50:03 +02:00
musl.py Rename option `--target-platform` to `--config` 2024-02-05 18:03:11 +01:00
native.py Add almalinux as compatible host for native and aarch config 2024-06-03 10:43:37 +02:00
neutral.py Introduce arch_name to name build dir base on arch name instead of config. 2024-04-08 16:50:03 +02:00
wasm.py Rename option `--target-platform` to `--config` 2024-02-05 18:03:11 +01:00
win32.py Rename option `--target-platform` to `--config` 2024-02-05 18:03:11 +01:00
win64.py Rename option `--target-platform` to `--config` 2024-02-05 18:03:11 +01:00