mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-31 00:23:50 +00:00
Fixed SDL framework use on OSX
This commit is contained in:
parent
d6c95a2b11
commit
9df492ca46
@ -22,6 +22,6 @@ AC_CHECK_LIB(nsl,callrpc,[LDFLAGS="$LDFLAGS -lnsl"])
|
||||
AC_CHECK_LIB(socket,socket,[LDFLAGS="$LDFLAGS -lsocket"])
|
||||
AC_CHECK_LIB(dl,dlopen,[LDFLAGS="$LDFLAGS -ldl"])
|
||||
AC_CHECK_LIB(pthread,pthread_create,[LDFLAGS="$LDFLAGS -lpthread"])
|
||||
AC_CHECK_FILE(/Library/Frameworks/SDL.framework,[LDFLAGS="$LDFLAGS -F SDL -F SDL_main"; CFLAGS="$CFLAGS -DWITH_SDL";])
|
||||
AC_CHECK_FILE(/Library/Frameworks/SDL.framework,[LDFLAGS="$LDFLAGS -framework SDL"; CFLAGS="$CFLAGS -DWITH_SDL";])
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
|
Loading…
x
Reference in New Issue
Block a user