diff --git a/kiwixbuild/configs/android.py b/kiwixbuild/configs/android.py index 9374944..b313cee 100644 --- a/kiwixbuild/configs/android.py +++ b/kiwixbuild/configs/android.py @@ -45,7 +45,11 @@ class AndroidConfigInfo(ConfigInfo): return self.ndk_builder.install_path def get_cross_config(self): - extra_libs = ["-llog"] + extra_libs = [ + "-llog", + "-Wl,--exclude-libs,libgcc.a", + "-Wl,--exclude-libs,libunwind.a", + ] extra_cflags = [ "-I{}".format(include_dir) for include_dir in self.get_include_dirs() ]