From dcbcc409dfe61a9f08b9101479a16dcb12cde641 Mon Sep 17 00:00:00 2001 From: Michal Maciola <71131832+mmaciola@users.noreply.github.com> Date: Wed, 22 Sep 2021 15:11:23 +0200 Subject: [PATCH] wasm: enable png loader (#828) --- wasm_cross.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wasm_cross.txt b/wasm_cross.txt index 6d72bb73..c56f6e4b 100644 --- a/wasm_cross.txt +++ b/wasm_cross.txt @@ -5,8 +5,8 @@ ar = 'EMSDK:upstream/emscripten/emar.py' [properties] root = 'EMSDK:upstream/emscripten/system' -cpp_args = ['--bind' , '-s' , 'WASM=1' , '-s' , 'ALLOW_MEMORY_GROWTH=1' , '-s' , 'FORCE_FILESYSTEM=1' , '-O2'] -cpp_link_args = ['--bind' , '-s' , 'WASM=1' , '-s' , 'ALLOW_MEMORY_GROWTH=1' , '-s' , 'FORCE_FILESYSTEM=1' , '-O2'] +cpp_args = ['--bind' , '-s' , 'WASM=1' , '-s' , 'ALLOW_MEMORY_GROWTH=1' , '-s' , 'FORCE_FILESYSTEM=1' , '-s' , 'USE_LIBPNG=1' , '-O2'] +cpp_link_args = ['--bind' , '-s' , 'WASM=1' , '-s' , 'ALLOW_MEMORY_GROWTH=1' , '-s' , 'FORCE_FILESYSTEM=1' , '-s' , 'USE_LIBPNG=1' , '-O2'] shared_lib_suffix = 'js' static_lib_suffix = 'js' shared_module_suffix = 'js'