summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/osd/sdl.lua
diff options
context:
space:
mode:
author 68bit <info@68bit.org>2019-08-28 22:56:15 +1000
committer Justin Kerk <dopefishjustin@gmail.com>2019-08-28 14:25:27 +0000
commit6d76d3f8f86fa42b58e6d24839c1f05adc7286e4 (patch)
treec0a80e531cf2d17da1e6364988ce296b484b69fb /scripts/src/osd/sdl.lua
parent7486703578fa389df6f55cf7f6af13097fb6264d (diff)
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.
Diffstat (limited to 'scripts/src/osd/sdl.lua')
-rw-r--r--scripts/src/osd/sdl.lua2
1 files changed, 1 insertions, 1 deletions
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",
}