diff --git a/kiwixbuild/dependencies/all_dependencies.py b/kiwixbuild/dependencies/all_dependencies.py index f2bfd46..09f29b3 100644 --- a/kiwixbuild/dependencies/all_dependencies.py +++ b/kiwixbuild/dependencies/all_dependencies.py @@ -1,3 +1,5 @@ +from os import environ + from .base import ( Dependency, NoopSource, @@ -12,7 +14,7 @@ class AllBaseDependencies(Dependency): class Builder(NoopBuilder): @classmethod def get_dependencies(cls, platformInfo, allDeps): - if platformInfo.build == "wasm": + if platformInfo.build == "wasm" or environ.get('OS_NAME') == 'bionic': return ['zlib', 'lzma', 'zstd', 'icu4c', 'xapian-core'] base_deps = ['zlib', 'lzma', 'zstd', 'xapian-core', 'pugixml', 'libcurl', 'icu4c', 'mustache', 'libmicrohttpd', 'zim-testing-suite']