mirror of
https://github.com/holub/mame
synced 2025-06-03 11:26:56 +03:00
Harmonise targetos between genie.lua and sdl{,_config}.lua
This commit is contained in:
parent
a119fc50ab
commit
f947a9b160
@ -65,14 +65,17 @@ newoption {
|
||||
{ "android-x86", "Android - x86" },
|
||||
{ "asmjs", "Emscripten/asm.js" },
|
||||
{ "freebsd", "FreeBSD" },
|
||||
{ "netbsd", "NetBSD" },
|
||||
{ "openbsd", "OpenBSD" },
|
||||
{ "nacl", "Native Client" },
|
||||
{ "nacl-arm", "Native Client - ARM" },
|
||||
{ "pnacl", "Native Client - PNaCl" },
|
||||
{ "linux", "Linux" },
|
||||
{ "ios", "iOS" },
|
||||
{ "linux", "Linux" },
|
||||
{ "ios", "iOS" },
|
||||
{ "macosx", "OSX" },
|
||||
{ "windows", "Windows" },
|
||||
|
||||
{ "os2", "OS/2 eComStation" },
|
||||
{ "haiku", "Haiku" },
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -102,7 +102,7 @@ newoption {
|
||||
}
|
||||
|
||||
if not _OPTIONS["NO_X11"] then
|
||||
if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"]=="emscripten" or _OPTIONS["targetos"]=="os2" then
|
||||
if _OPTIONS["targetos"]=="windows" or _OPTIONS["targetos"]=="macosx" or _OPTIONS["targetos"]=="haiku" or _OPTIONS["targetos"]=="asmjs" or _OPTIONS["targetos"]=="os2" then
|
||||
_OPTIONS["NO_X11"] = "1"
|
||||
else
|
||||
_OPTIONS["NO_X11"] = "0"
|
||||
@ -193,7 +193,7 @@ elseif _OPTIONS["targetos"]=="netbsd" then
|
||||
SDL_NETWORK = "pcap"
|
||||
elseif _OPTIONS["targetos"]=="haiku" then
|
||||
SYNC_IMPLEMENTATION = "ntc"
|
||||
elseif _OPTIONS["targetos"]=="emscripten" then
|
||||
elseif _OPTIONS["targetos"]=="asmjs" then
|
||||
SYNC_IMPLEMENTATION = "mini"
|
||||
elseif _OPTIONS["targetos"]=="windows" then
|
||||
BASE_TARGETOS = "win32"
|
||||
|
@ -90,7 +90,7 @@ if BASE_TARGETOS=="unix" then
|
||||
buildoptions {
|
||||
backtick(sdlconfigcmd() .. " --cflags"),
|
||||
}
|
||||
if _OPTIONS["targetos"]~="emscripten" then
|
||||
if _OPTIONS["targetos"]~="asmjs" then
|
||||
buildoptions {
|
||||
backtick("pkg-config --cflags fontconfig"),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user