mirror of
https://github.com/holub/mame
synced 2025-06-07 21:33:45 +03:00
Fix Emscripten build (nw)
This commit is contained in:
parent
e446d482f8
commit
11f82be540
@ -96,7 +96,9 @@ end
|
|||||||
|
|
||||||
|
|
||||||
function sdlconfigcmd()
|
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"
|
return _OPTIONS['TOOLCHAIN'] .. "pkg-config sdl2"
|
||||||
else
|
else
|
||||||
return path.join(_OPTIONS["SDL_INSTALL_ROOT"],"bin","sdl2") .. "-config"
|
return path.join(_OPTIONS["SDL_INSTALL_ROOT"],"bin","sdl2") .. "-config"
|
||||||
|
Loading…
Reference in New Issue
Block a user