Fix SDL detection.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1673 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -136,7 +136,7 @@ case "$OSNAME" in
|
||||
LIB_SDL_LDFLAGS='-framework SDL -framework Cocoa -lobjc'
|
||||
LIB_SDL_VERSION=$(echo \
|
||||
"SDL_MAJOR_VERSION.SDL_MINOR_VERSION.SDL_PATCHLEVEL" | \
|
||||
gcc -E -include SDL_version.h $LIB_SDL_CFLAGS - | \
|
||||
gcc -E -include SDL/SDL_version.h $LIB_SDL_CFLAGS - | \
|
||||
tail -1 | tr -d ' ')
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user