aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2020-05-16 17:10:02 +0100
committerMatthew Hodgson <matthew@matrix.org>2020-05-16 17:10:02 +0100
commit83bf351a34a65edb7ab9eaf4251b197cbeedb159 (patch)
tree9b45ce63818d1aac00782750270cc11e26e9a9cc
parent5a9fdd85cb1ad54813df2ecd6eb24ff84e32656a (diff)
fix build on latest emscripten
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7651b66..04ec18c 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ JS_ASMJS_TARGET := javascript/olm_legacy.js
WASM_TARGET := $(BUILD_DIR)/wasm/libolm.a
JS_EXPORTED_FUNCTIONS := javascript/exported_functions.json
-JS_EXTRA_EXPORTED_RUNTIME_METHODS := ALLOC_STACK
+JS_EXTRA_EXPORTED_RUNTIME_METHODS := [ALLOC_STACK]
JS_EXTERNS := javascript/externs.js
PUBLIC_HEADERS := include/olm/olm.h include/olm/outbound_group_session.h include/olm/inbound_group_session.h include/olm/pk.h include/olm/sas.h