diff --git a/kiwixbuild/dependencies/libzim.py b/kiwixbuild/dependencies/libzim.py index aa01108..9c2ff33 100644 --- a/kiwixbuild/dependencies/libzim.py +++ b/kiwixbuild/dependencies/libzim.py @@ -13,3 +13,11 @@ class Libzim(Dependency): class Builder(MesonBuilder): test_option = "-t 8" dependencies = ['zlib', 'lzma', 'xapian-core', 'icu4c'] + + @property + def configure_option(self): + options = "" + platformInfo = self.buildEnv.platformInfo + if platformInfo.build == 'android': + options += "-DUSE_BUFFER_HEADER=false" + return options