File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,13 +134,13 @@ cd ..
134134# ----------------Build shared libraries from static archives --------------#
135135
136136
137- emcc -shared -sSIDE_MODULE=2 -o " $WASM_LIBRARY_DIR /lib/libgmp.so" \
137+ emcc -shared -sSIDE_MODULE=1 -o " $WASM_LIBRARY_DIR /lib/libgmp.so" \
138138 -Wl,--whole-archive " $WASM_LIBRARY_DIR /lib/libgmp.a" -Wl,--no-whole-archive
139139
140- emcc -shared -sSIDE_MODULE=2 -o " $WASM_LIBRARY_DIR /lib/libmpfr.so" \
140+ emcc -shared -sSIDE_MODULE=1 -o " $WASM_LIBRARY_DIR /lib/libmpfr.so" \
141141 -Wl,--whole-archive " $WASM_LIBRARY_DIR /lib/libmpfr.a" -Wl,--no-whole-archive \
142142 -L" $WASM_LIBRARY_DIR /lib" -lgmp
143143
144- emcc -shared -sSIDE_MODULE=2 -o " $WASM_LIBRARY_DIR /lib/libflint.so" \
144+ emcc -shared -sSIDE_MODULE=1 -o " $WASM_LIBRARY_DIR /lib/libflint.so" \
145145 -Wl,--whole-archive " $WASM_LIBRARY_DIR /lib/libflint.a" -Wl,--no-whole-archive \
146146 -L" $WASM_LIBRARY_DIR /lib" -lmpfr -lgmp
You can’t perform that action at this time.
0 commit comments