mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-09 10:25:32 +00:00
`emcc.py` is not marked as executable in emcripten's git repo so the build failed when trying to locate emscripten. However, it turns out that `emcc` is marked as executable, so we use that instead. On Windows however, we still need to use `emcc.py` because otherwise Meson won't detect it as valid compiler.
18 lines
305 B
Text
18 lines
305 B
Text
[binaries]
|
|
c = ['emcc']
|
|
cpp = ['em++']
|
|
ar = ['emar']
|
|
exe_wrapper = 'node'
|
|
|
|
[properties]
|
|
root = '$EMSCRIPTEN_BASE/system'
|
|
shared_lib_suffix = 'js'
|
|
static_lib_suffix = 'js'
|
|
shared_module_suffix = 'js'
|
|
exe_suffix = 'js'
|
|
|
|
[host_machine]
|
|
system = 'emscripten'
|
|
cpu_family = 'x86'
|
|
cpu = 'i686'
|
|
endian = 'little'
|