mirror of
https://github.com/lovell/sharp.git
synced 2026-02-06 22:56:16 +01:00
Ensure emnapiInit function is exported
Prevents latest emscripten optimising it away
This commit is contained in:
@@ -192,7 +192,7 @@
|
||||
'-Oz',
|
||||
'-sALLOW_MEMORY_GROWTH',
|
||||
'-sENVIRONMENT=node',
|
||||
'-sEXPORTED_FUNCTIONS=["_vips_shutdown", "_uv_library_shutdown"]',
|
||||
'-sEXPORTED_FUNCTIONS=["emnapiInit", "_vips_shutdown", "_uv_library_shutdown"]',
|
||||
'-sNODERAWFS',
|
||||
'-sTEXTDECODER=0',
|
||||
'-sWASM_ASYNC_COMPILATION=0',
|
||||
|
||||
Reference in New Issue
Block a user