Also pass --shared-memory to raw_decode.
This is needed when building for Emscripten with *both* WEBP and JPEG support.
This commit is contained in:
parent
433e052356
commit
2b9abce31b
@ -233,6 +233,9 @@ if(WEBP_SUPPORT AND EMSCRIPTEN)
|
||||
strip_rw)
|
||||
target_link_options(${target} PUBLIC "-Wl,--shared-memory")
|
||||
endforeach()
|
||||
if(JPEG_SUPPORT)
|
||||
target_link_options(raw_decode PUBLIC "-Wl,--shared-memory")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(TEST_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/output")
|
||||
|
Loading…
Reference in New Issue
Block a user