mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-28 05:49:33 +00:00
Simplify cross-compilation
Now we can make reference to build step in another target platform, we can simplify cross-compilation fo libmagic and icu4c.
This commit is contained in:
@ -12,11 +12,4 @@ class Libzim(Dependency):
|
||||
|
||||
class Builder(MesonBuilder):
|
||||
test_option = "-t 8"
|
||||
|
||||
@classmethod
|
||||
def get_dependencies(cls, platformInfo):
|
||||
base_dependencies = ['zlib', 'lzma', 'xapian-core']
|
||||
if platformInfo.build != 'native':
|
||||
return base_dependencies + ["icu4c_cross-compile"]
|
||||
else:
|
||||
return base_dependencies + ["icu4c"]
|
||||
dependencies = ['zlib', 'lzma', 'xapian-core', 'icu4c']
|
||||
|
Reference in New Issue
Block a user