mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
wasm: update wasm build script
Fixed typo. It breaks build progress now.
This commit is contained in:
parent
d4f8a885b7
commit
cd10f4ee23
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ if [ -z "$2" ]; then
|
|||
EMSDK="$1"
|
||||
fi
|
||||
|
||||
if [ ! -d "./build_wasm32_$BACKEND" ]; then
|
||||
if [ ! -d "./build_wasm" ]; then
|
||||
if [[ "$BACKEND" == "wg" ]]; then
|
||||
sed "s|EMSDK:|$EMSDK|g" ./cross/wasm32_wg.txt > /tmp/.wasm_cross.txt
|
||||
meson -Db_lto=true -Ddefault_library=static -Dstatic=true -Dloaders="all" -Dsavers="all" -Dthreads=false -Dbindings="wasm_beta" -Dengines="wg" --cross-file /tmp/.wasm_cross.txt build_wasm
|
||||
|
|
Loading…
Add table
Reference in a new issue