Merge pull request #33728 from akien-mga/emscripten-1.39.1-link-idbfs.js

HTML5: Explicitly link idbfs.js for IDBFS support
This commit is contained in:
Rémi Verschelde 2019-11-19 10:40:37 +01:00 committed by GitHub
commit 511de4ce51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,6 +124,10 @@ def configure(env):
## Link flags
# We use IDBFS in javascript_main.cpp. Since Emscripten 1.39.1 it needs to
# be linked explicitly.
env.Append(LIBS=['idbfs.js'])
env.Append(LINKFLAGS=['-s', 'BINARYEN=1'])
# Allow increasing memory buffer size during runtime. This is efficient