Skip to content

Commit 970dca0

Browse files
committed
export memory as well
1 parent 382fad9 commit 970dca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/configure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ cd FFmpeg
4242
MAX_MEMORY=131072000
4343
./configure ${FFMPEG_CONFIG_FLAGS_BASE[@]} \
4444
--extra-cflags="-pthread -target wasm32-wasi-threads -ftls-model=local-exec -I../build/include" \
45-
--extra-ldflags="-pthread -target wasm32-wasi-threads -Wl,--max-memory=${MAX_MEMORY} -Wl,--import-memory -L../build/lib"
45+
--extra-ldflags="-pthread -target wasm32-wasi-threads -Wl,--max-memory=${MAX_MEMORY} -Wl,--import-memory -Wl,--export-memory -L../build/lib"
4646

4747
make -n |
4848
sed 's/clang /clang -D_WASI_EMULATED_PROCESS_CLOCKS -lwasi-emulated-process-clocks /g' |

0 commit comments

Comments
 (0)