configure.ac: avoid spaces in a LDFLAGS option

Seems like it confuses "make ruby" for emscripten.
This commit is contained in:
Yusuke Endoh 2021-03-19 12:30:59 +09:00
parent f748b911c9
commit d97ed004e8

View File

@ -1176,8 +1176,8 @@ main()
]) ])
], ],
[emscripten*], [LIBS="-lm -lc $LIBS" [emscripten*], [LIBS="-lm -lc $LIBS"
RUBY_APPEND_OPTIONS(LDFLAGS, "-s ALLOW_MEMORY_GROWTH=1") RUBY_APPEND_OPTIONS(LDFLAGS, "-sALLOW_MEMORY_GROWTH=1")
RUBY_APPEND_OPTIONS(LDFLAGS, "-s ASYNCIFY") RUBY_APPEND_OPTIONS(LDFLAGS, "-sASYNCIFY")
], ],
[ LIBS="-lm $LIBS"]) [ LIBS="-lm $LIBS"])
: ${ORIG_LIBS=$LIBS} : ${ORIG_LIBS=$LIBS}