SDL2 build for macOS under brew

This commit is contained in:
Michael Martin
2019-09-08 23:15:12 -07:00
parent 91b2235753
commit f973106448
2 changed files with 10 additions and 1 deletions
+6
View File
@@ -81,6 +81,12 @@ case "$HOST_SYSTEM" in
WINSCW|GCCE|ARMV5)
LIB_SDL2_DETECT="false"
;;
Darwin)
LIB_SDL2_DETECT="have_command sdl2-config"
LIB_SDL2_CFLAGS='$(sdl2-config --cflags)'
LIB_SDL2_LDFLAGS='$(sdl2-config --static-libs)'
LIB_SDL2_VERSION='$(sdl2-config --version)'
;;
*)
LIB_SDL2_DETECT="have_command sdl2-config"
LIB_SDL2_CFLAGS='$(sdl2-config --cflags)'