Skip to content

Commit 57f4aec

Browse files
committed
Don't strip the libraries
1 parent e5dc593 commit 57f4aec

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bin/pyodide_build_dependencies.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)