summaryrefslogtreecommitdiff
path: root/thirdparty/opus/celt/static_modes_fixed.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-07-09 18:57:26 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-07-09 19:17:27 +0200
commit0c19674621100564acbe97fc7b818d5eb2f70a25 (patch)
tree30136e4edb755821ff5022a11b6cb6a91029d59a /thirdparty/opus/celt/static_modes_fixed.h
parent9580c2b13ef3833486cc6fc4f95fab7f0c40c3b5 (diff)
Better detect Emscripten toolchain.
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.
Diffstat (limited to 'thirdparty/opus/celt/static_modes_fixed.h')
0 files changed, 0 insertions, 0 deletions