diff options
author | 2017-07-22 22:04:39 +1000 | |
---|---|---|
committer | 2017-07-22 22:27:34 +1000 | |
commit | 97d5034d1b7c337021f54e0d94f942bb8bf4ab56 (patch) | |
tree | 7fca68c356a6644bc9ec510c8452ac9091c4e0d5 | |
parent | bdd1b395d488e45285a4c2759619f25a3e48d791 (diff) |
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.
-rw-r--r-- | scripts/src/osd/sdl_cfg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/src/osd/sdl_cfg.lua b/scripts/src/osd/sdl_cfg.lua index 3f8e3e10bbc..e606e5ad1ea 100644 --- a/scripts/src/osd/sdl_cfg.lua +++ b/scripts/src/osd/sdl_cfg.lua @@ -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 |