added -framework Carbon for darwin*
This commit is contained in:
parent
d7174db26f
commit
580f4660fb
1 changed files with 4 additions and 0 deletions
|
@ -251,6 +251,10 @@ AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
|
|||
|
||||
SDL_CFLAGS=`$SDL_CONFIG --cflags`
|
||||
SDL_LIBS=`$SDL_CONFIG --libs`
|
||||
case ${host_os} in
|
||||
darwin*)
|
||||
SDL_LIBS="-framework Carbon $SDL_LIBS"
|
||||
esac
|
||||
|
||||
sdl_major_version=`$SDL_CONFIG --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
|
|
Loading…
Add table
Reference in a new issue