summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8a8b7d949d..05d3e993c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1137,6 +1137,9 @@ main()
ac_cv_func___builtin_setjmp=no
])
],
+[emscripten*], [LIBS="-lm -lc $LIBS"
+ RUBY_APPEND_OPTIONS(LDFLAGS, -s ALLOW_MEMORY_GROWTH=1)
+ ],
[ LIBS="-lm $LIBS"])
: ${ORIG_LIBS=$LIBS}