0c19674621
Emscripten is apparently changing the variables in its config file, causing potential breakage of our build system. Binaries of the latest/latest-upstream releases are located in a subfolder of BINARYEN_ROOT called emscripten. Binaries of the other releases (e.g. sdk-1.38.31-64bit) are instead placed under the EMSCRIPTEN_ROOT folder. This PR checks if BINARYEN_ROOT has a subfolder called emscripten, if that does not exists, it falls back to checking the EMSCRIPTEN_ROOT. This way we give precedence to the new releases, given that activating multiple releases sequentially might result in having mismatching BINARYEN_ROOT and EMSCRIPTEN_ROOT. |
||
---|---|---|
.. | ||
api | ||
export | ||
audio_driver_javascript.cpp | ||
audio_driver_javascript.h | ||
detect.py | ||
dom_keys.inc | ||
engine.js | ||
http_client.h.inc | ||
http_client_javascript.cpp | ||
http_request.h | ||
http_request.js | ||
id_handler.js | ||
javascript_eval.cpp | ||
javascript_main.cpp | ||
logo.png | ||
os_javascript.cpp | ||
os_javascript.h | ||
platform_config.h | ||
pre.js | ||
run_icon.png | ||
SCsub |