As Emscripten libraries require executable code rather than static this fixes issues for WASM using side module.
.wasm extension target
Can be interpreted as .a with this executable byte code
This can be used for patching your own libpng frameworks.
Emscripten comes with a em port however versions are not always up to date with latest changes so this is convenient for cmake / developers / frameworks.
I think also we can assume libpng is being compiled by Emscripten via emmake
As Emscripten libraries require executable code rather than static this fixes issues for WASM using side module. .wasm extension target
Can be interpreted as .a with this executable byte code
This can be used for patching your own libpng frameworks. Emscripten comes with a em port however versions are not always up to date with latest changes so this is convenient for cmake / developers / frameworks.
I think also we can assume libpng is being compiled by Emscripten via emmake
Example Cmake commands: