mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-28 05:49:33 +00:00
Correctly build ICU data when building for wasm.
When we use `--disable-tools` (ie, when we are cross-compiling), ICU will build the data only if it detects we are cross-compiling. This make sens until we cross-compiling for wasm. Wasm output is a script file with the interpreter in the sdk we have installed. So ICU's configure can run the test binary and so doesn't detect we are cross-compiling. So we have to patch ICU Makefile to make it build the ICU data anyway.
This commit is contained in:
@ -189,6 +189,9 @@ class Context:
|
||||
self.autoskip_file = None
|
||||
self.no_skip = False
|
||||
|
||||
def skip(self, msg=""):
|
||||
raise SkipCommand(msg)
|
||||
|
||||
def try_skip(self, path, extra_name=""):
|
||||
if self.no_skip:
|
||||
return
|
||||
|
Reference in New Issue
Block a user