mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-27 21:39:34 +00:00
Add a support to compile libzim for wasm.
`icu4c_wasm.patch` is build by : - Copying config.sub from liblzma source as new version of config.sub there knows about wasm architecture. - Copying `mh-linux` on `mh-unknown` as specified in (origin) `mh-unknown`. This is because icu4c configure doesn't detect `emscripten` platform and "fallback" to `mh-unknown`.
This commit is contained in:
@ -340,7 +340,7 @@ class MakeBuilder(Builder):
|
||||
|
||||
@property
|
||||
def make_install_target(self):
|
||||
if self.buildEnv.platformInfo.build == 'iOS':
|
||||
if self.buildEnv.platformInfo.build in ('iOS', "wasm"):
|
||||
return 'install'
|
||||
return 'install-strip'
|
||||
|
||||
|
Reference in New Issue
Block a user