emscripten: malloc() and free() should be exported as library symbols

This commit is contained in:
Frank Denis 2017-12-25 23:32:25 +01:00
parent 68d845e651
commit 5f5d36a9bb
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -35,7 +35,7 @@ symbols() {
} | \ } | \
sort | \ sort | \
{ {
out='' out='"_malloc","_free"'
while read symbol ; do while read symbol ; do
if [ ! -z "$out" ]; then if [ ! -z "$out" ]; then
out="${out}," out="${out},"