From fe74ad7aff2fa505e3019095b507221eb61057c4 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 18 Jan 2022 11:42:16 +0100 Subject: [PATCH] Do not compile libkiwix on android with werror The java wrapper is using deprecated methods, so we cannot compile with `werror`. --- kiwixbuild/dependencies/libkiwix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiwixbuild/dependencies/libkiwix.py b/kiwixbuild/dependencies/libkiwix.py index e441391..70b99a3 100644 --- a/kiwixbuild/dependencies/libkiwix.py +++ b/kiwixbuild/dependencies/libkiwix.py @@ -24,7 +24,7 @@ class Libkiwix(Dependency): def configure_option(self): platformInfo = self.buildEnv.platformInfo if platformInfo.build == 'android': - return '-Dwrapper=android' + return '-Dwrapper=android -Dwerror=false' if platformInfo.build == 'iOS': return '-Db_bitcode=true' if platformInfo.name == 'flatpak':