mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-27 21:39:34 +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:
@ -283,6 +283,8 @@ class Builder:
|
||||
if hasattr(self, '_pre_build_script'):
|
||||
self.command('pre_build_script', self._pre_build_script)
|
||||
self.command('configure', self._configure)
|
||||
if hasattr(self, '_post_configure_script'):
|
||||
self.command('post_configure_script', self._post_configure_script)
|
||||
self.command('compile', self._compile)
|
||||
if hasattr(self, '_test'):
|
||||
self.command('test', self._test)
|
||||
|
Reference in New Issue
Block a user