godot/platform
Rémi Verschelde bf204bdc7c HTML5: Fix support for Emscripten 1.39.1+
A change in upstream Emscripten 1.39.1+ made our buildsystem error
out where it was previously only issuing a warning:
```
[  5%] Linking Static Library ==> main/libmain.javascript.opt.bc
shared:WARNING: Assuming object file output in the absence of `-c`, based on output filename. Please add with `-c` or `-r` to avoid this warning
Ranlib Library         ==> main/libmain.javascript.opt.bc
/opt/emsdk/upstream/bin/llvm-ranlib: error: unable to load 'main/libmain.javascript.opt.bc': file too small to be an archive
```

As advised on emscripten-core/emscripten#9806, we should be using
`emar` here to create the static library and not `emcc`.
This was apparently done to workaround Emscripten issues in the past,
but evidently this is no longer necessary.

The rest of the `env` redefinitions should probably be re-assessed
against the current state of Emscripten.

Fixes #33374.

(cherry picked from commit e9e2a4b044)
2019-11-29 15:58:41 +01:00
..
android Android: Bump gradle version to 5.1.1 2019-11-12 13:09:36 +01:00
haiku Add Input::get_current_cursor_shape 2019-11-12 11:10:53 +01:00
iphone iOS>=11 platform - when handling gestures on screen edges, godot apps should have priority over OS 2019-11-12 13:09:36 +01:00
javascript HTML5: Fix support for Emscripten 1.39.1+ 2019-11-29 15:58:41 +01:00
osx Add Input::get_current_cursor_shape 2019-11-12 11:10:53 +01:00
server Add Input::get_current_cursor_shape 2019-11-12 11:10:53 +01:00
uwp Fix memory leak after closing files 2019-11-12 13:09:35 +01:00
windows Add Input::get_current_cursor_shape 2019-11-12 11:10:53 +01:00
x11 [X11] Add window borderless state detection, fix borderless state restoration after exiting fullscreen. 2019-11-12 13:09:35 +01:00
register_platform_apis.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub Always use lists for LIBS in SCons 2019-11-12 13:09:36 +01:00