mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
asmjs: avoid explicitly linking SDL2_ttf.
It appears that it is sufficient to include `-s USE_SDL_TTF=2`, and emcc links in the SDL2_tff library, and it does not like attempts to link this twice.
This commit is contained in:
parent
6d76d3f8f8
commit
5c482945c6
@ -38,7 +38,7 @@ function maintargetosdoptions(_target,_subtarget)
|
||||
}
|
||||
end
|
||||
|
||||
if BASE_TARGETOS=="unix" and _OPTIONS["targetos"]~="macosx" and _OPTIONS["targetos"]~="android" then
|
||||
if BASE_TARGETOS=="unix" and _OPTIONS["targetos"]~="macosx" and _OPTIONS["targetos"]~="android" and _OPTIONS["targetos"]~="asmjs" then
|
||||
links {
|
||||
"SDL2_ttf",
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user