mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-28 05:49:33 +00:00
Fix dependency detection for zim-tools.
This commit is contained in:
@ -13,12 +13,12 @@ class AllBaseDependencies(Dependency):
|
||||
@classmethod
|
||||
def get_dependencies(cls, platformInfo, allDeps):
|
||||
base_deps = ['zlib', 'lzma', 'zstd', 'xapian-core', 'pugixml', 'libcurl', 'icu4c', 'mustache', 'libmicrohttpd']
|
||||
# zimwriterfs from zim-tools
|
||||
if platformInfo.build not in ('android', 'win32'):
|
||||
base_deps += ['libmagic', 'gumbo']
|
||||
|
||||
# zimtools
|
||||
if platformInfo.build not in ('android','iOS'):
|
||||
# We do not build zimtools at all on "android" and "iOS"
|
||||
if platformInfo.build not in ('android', 'iOS'):
|
||||
base_deps += ['docoptcpp']
|
||||
if platformInfo.build != 'win32':
|
||||
# zimwriterfs
|
||||
base_deps += ['libmagic', 'gumbo']
|
||||
|
||||
return base_deps
|
||||
|
Reference in New Issue
Block a user