mirror of
https://github.com/holub/mame
synced 2025-04-16 21:44:32 +03:00
Fix include path with USE_LIBSDL on macOS
The cflags will contain an include path ending in "SDL2", not just "SDL", and removing just the latter leaves a stray "2" on the end.
This commit is contained in:
parent
bdd1b395d4
commit
97d5034d1b
@ -86,7 +86,7 @@ if BASE_TARGETOS=="unix" then
|
||||
"MACOSX_USE_LIBSDL",
|
||||
}
|
||||
buildoptions {
|
||||
backtick(sdlconfigcmd() .. " --cflags | sed 's:/SDL::'"),
|
||||
backtick(sdlconfigcmd() .. " --cflags | sed 's:/SDL2::'"),
|
||||
}
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user