Do not try to cross compile aria2.
Aria2 is a special case. We actually don't really need to compile it. kiwix-desktop through libkiwix use the aria2c binary but we always use (package) the system binary or a prebuild release. And we don't cross compile kiwix-desktop to windows, so we don't need aria2c neither.
This commit is contained in:
parent
612efaad7c
commit
462538f4a5
|
@ -17,10 +17,11 @@ class AllBaseDependencies(Dependency):
|
|||
if platformInfo.build not in ('android', 'iOS'):
|
||||
# For zimtools
|
||||
base_deps += ['docoptcpp']
|
||||
# For kiwix-desktop
|
||||
base_deps += ['aria2']
|
||||
if platformInfo.build != 'win32':
|
||||
# zimwriterfs
|
||||
base_deps += ['libmagic', 'gumbo']
|
||||
|
||||
if platformInfo.build == 'native' and neutralEnv('distname') != 'Darwin':
|
||||
# We compile kiwix-desktop only on native and not on `Darwin`
|
||||
# So we need aria2 only there
|
||||
base_deps += ['aria2']
|
||||
return base_deps
|
||||
|
|
Loading…
Reference in New Issue