diff options
-rw-r--r-- | platform/javascript/detect.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py index 172072db3c..a63fa90067 100644 --- a/platform/javascript/detect.py +++ b/platform/javascript/detect.py @@ -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 |