asmjs: can not ignore errors on missing libraries

The current Emscripten release is not happy with the use of
"-s ERROR_ON_MISSING_LIBRARIES=0" as a link option, it gives an error
stating that all libraries must now be present, so remove that use.

This leaves a missing 'util' library. This did not appear to be
needed on the few builds I have tried, and this patch avoids adding
this library for asmjs.
This commit is contained in:
68bit 2019-08-28 22:56:15 +10:00 committed by Justin Kerk
parent 7486703578
commit 6d76d3f8f8
2 changed files with 1 additions and 2 deletions

View File

@ -1183,7 +1183,6 @@ configuration { "asmjs" }
} }
linkoptions { linkoptions {
"-Wl,--start-group", "-Wl,--start-group",
"-s ERROR_ON_MISSING_LIBRARIES=0"
} }
archivesplit_size "20" archivesplit_size "20"

View File

@ -328,7 +328,7 @@ if BASE_TARGETOS=="unix" then
"socket", "socket",
"nsl", "nsl",
} }
else elseif _OPTIONS["targetos"]~="asmjs" then
links { links {
"util", "util",
} }