1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

configure.ac: enable FORCE_FILESYSTEM for Emscripten

This commit is contained in:
Yusuke Endoh 2021-03-20 03:04:55 +09:00
parent 0428c2e7df
commit 1c6f5ca4d4

View file

@ -1178,6 +1178,7 @@ main()
[emscripten*], [LIBS="-lm -lc $LIBS" [emscripten*], [LIBS="-lm -lc $LIBS"
RUBY_APPEND_OPTIONS(LDFLAGS, "-sALLOW_MEMORY_GROWTH=1") RUBY_APPEND_OPTIONS(LDFLAGS, "-sALLOW_MEMORY_GROWTH=1")
RUBY_APPEND_OPTIONS(LDFLAGS, "-sASYNCIFY") RUBY_APPEND_OPTIONS(LDFLAGS, "-sASYNCIFY")
RUBY_APPEND_OPTIONS(LDFLAGS, "-sFORCE_FILESYSTEM=1")
], ],
[ LIBS="-lm $LIBS"]) [ LIBS="-lm $LIBS"])
: ${ORIG_LIBS=$LIBS} : ${ORIG_LIBS=$LIBS}