Skip to content

Commit

Permalink
export memory as well
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Apr 3, 2023
1 parent 382fad9 commit 970dca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ cd FFmpeg
MAX_MEMORY=131072000
./configure ${FFMPEG_CONFIG_FLAGS_BASE[@]} \
--extra-cflags="-pthread -target wasm32-wasi-threads -ftls-model=local-exec -I../build/include" \
--extra-ldflags="-pthread -target wasm32-wasi-threads -Wl,--max-memory=${MAX_MEMORY} -Wl,--import-memory -L../build/lib"
--extra-ldflags="-pthread -target wasm32-wasi-threads -Wl,--max-memory=${MAX_MEMORY} -Wl,--import-memory -Wl,--export-memory -L../build/lib"

make -n |
sed 's/clang /clang -D_WASI_EMULATED_PROCESS_CLOCKS -lwasi-emulated-process-clocks /g' |
Expand Down

0 comments on commit 970dca0

Please sign in to comment.