Emscripten: add _malloc to EXPORTED_FUNCTIONS
This commit is contained in:
parent
54912a63ab
commit
4b9637e0fd
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ if (EMSCRIPTEN)
|
||||||
"SHELL:--no-entry"
|
"SHELL:--no-entry"
|
||||||
"SHELL:-s WASM=1"
|
"SHELL:-s WASM=1"
|
||||||
"SHELL:-s ALLOW_MEMORY_GROWTH=1"
|
"SHELL:-s ALLOW_MEMORY_GROWTH=1"
|
||||||
"SHELL:-s EXPORTED_FUNCTIONS=_free"
|
"SHELL:-s EXPORTED_FUNCTIONS=_free,_malloc"
|
||||||
"SHELL:-s EXPORTED_RUNTIME_METHODS=ccall,cwrap"
|
"SHELL:-s EXPORTED_RUNTIME_METHODS=ccall,cwrap"
|
||||||
)
|
)
|
||||||
target_include_directories(ragephoto-wasm PUBLIC
|
target_include_directories(ragephoto-wasm PUBLIC
|
||||||
|
|
Loading…
Reference in a new issue