package/crossfiles/wasm-unknown-emscripten.meson
raw| 1 | # The Emscripten SDK cache needs to be specified as an `EM_CACHE` environment |
| 2 | # variable. It can be retrieved with `em-config CACHE`. |
| 3 | [binaries] |
| 4 | c = 'emcc' |
| 5 | cpp = 'em++' |
| 6 | ar = 'emar' |
| 7 | ranlib = 'emranlib' |
| 8 | strip = 'strip' |
| 9 | pkg-config = 'pkg-config' |
| 10 | |
| 11 | [host_machine] |
| 12 | system = 'emscripten' |
| 13 | cpu_family = 'wasm32' |
| 14 | endian = 'little' |
| 15 | cpu = 'wasm32' |
| 16 | |
| 17 | [built-in options] |
| 18 | default_library = 'static' |
| 19 | |
| 20 | [properties] |
| 21 | sys_root = '$EM_CACHE/sysroot' |