diff --git a/scripts/genie.lua b/scripts/genie.lua index b1d76df09bf..707fc4d1d79 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1183,7 +1183,6 @@ configuration { "asmjs" } } linkoptions { "-Wl,--start-group", - "-s ERROR_ON_MISSING_LIBRARIES=0" } archivesplit_size "20" 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", }