wasm: enable png loader (#828)
authorMichal Maciola <71131832+mmaciola@users.noreply.github.com>
Wed, 22 Sep 2021 13:11:23 +0000 (15:11 +0200)
committerHermet Park <chuneon.park@samsung.com>
Mon, 27 Sep 2021 02:21:03 +0000 (11:21 +0900)
wasm_cross.txt

index 6d72bb7..c56f6e4 100644 (file)
@@ -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'