From 6d76d3f8f86fa42b58e6d24839c1f05adc7286e4 Mon Sep 17 00:00:00 2001 From: 68bit Date: Wed, 28 Aug 2019 22:56:15 +1000 Subject: 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. --- scripts/src/osd/sdl.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/src/osd/sdl.lua') diff --git a/scripts/src/osd/sdl.lua b/scripts/src/osd/sdl.lua index 9485fcc553c..75f4416a7f8 100644 --- a/scripts/src/osd/sdl.lua +++ b/scripts/src/osd/sdl.lua @@ -328,7 +328,7 @@ if BASE_TARGETOS=="unix" then "socket", "nsl", } - else + elseif _OPTIONS["targetos"]~="asmjs" then links { "util", } -- cgit v1.2.3-70-g09d2