mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
Fix Emscripten build (nw)
This commit is contained in:
parent
e446d482f8
commit
11f82be540
@ -96,7 +96,9 @@ end
|
||||
|
||||
|
||||
function sdlconfigcmd()
|
||||
if not _OPTIONS["SDL_INSTALL_ROOT"] then
|
||||
if _OPTIONS["targetos"]=="asmjs" then
|
||||
return "sdl2-config"
|
||||
elseif not _OPTIONS["SDL_INSTALL_ROOT"] then
|
||||
return _OPTIONS['TOOLCHAIN'] .. "pkg-config sdl2"
|
||||
else
|
||||
return path.join(_OPTIONS["SDL_INSTALL_ROOT"],"bin","sdl2") .. "-config"
|
||||
|
Loading…
Reference in New Issue
Block a user