diff --git a/kiwixbuild/dependencies/libkiwix.py b/kiwixbuild/dependencies/libkiwix.py index 627318a..c94567c 100644 --- a/kiwixbuild/dependencies/libkiwix.py +++ b/kiwixbuild/dependencies/libkiwix.py @@ -23,7 +23,7 @@ class Libkiwix(Dependency): def configure_option(self): platformInfo = self.buildEnv.platformInfo if platformInfo.build == 'android': - return '-Dwrapper=android -Dwerror=false' + return '-Dstatic-linkage=true -Dwerror=false' if platformInfo.build == 'iOS': return '-Db_bitcode=true' if platformInfo.name == 'flatpak':