Fixed problem with multi-line CFLAGS on Darwin.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1624 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -132,9 +132,7 @@ case "$OSNAME" in
|
||||
LIB_SDL_VERSION='$(sdl11-config --version)'
|
||||
;;
|
||||
Darwin)
|
||||
LIB_SDL_CFLAGS='-I/System/Library/Frameworks/SDL.framework/Headers
|
||||
-I/Library/Frameworks/SDL.framework/Headers
|
||||
-I$HOME/Library/Frameworks/SDL.framework/Headers'
|
||||
LIB_SDL_CFLAGS='-I/System/Library/Frameworks/SDL.framework/Headers -I/Library/Frameworks/SDL.framework/Headers -I$HOME/Library/Frameworks/SDL.framework/Headers'
|
||||
LIB_SDL_LDFLAGS='-framework SDL -framework Cocoa -lobjc'
|
||||
LIB_SDL_VERSION=$(echo \
|
||||
"SDL_MAJOR_VERSION.SDL_MINOR_VERSION.SDL_PATCHLEVEL" | \
|
||||
@@ -160,9 +158,7 @@ LIB_SDL_mixer_VERSION=""
|
||||
LIB_SDL_image_NAME="SDL_image"
|
||||
case "$OSNAME" in
|
||||
Darwin)
|
||||
LIB_SDL_image_CFLAGS="-I/System/Library/Frameworks/SDL_image.framework/Headers
|
||||
-I/Library/Frameworks/SDL_image.framework/Headers
|
||||
-I$HOME/Library/Frameworks/SDL_image.framework/Headers"
|
||||
LIB_SDL_image_CFLAGS='-I/System/Library/Frameworks/SDL_image.framework/Headers -I/Library/Frameworks/SDL_image.framework/Headers -I$HOME/Library/Frameworks/SDL_image.framework/Headers'
|
||||
LIB_SDL_image_LDFLAGS="-framework SDL_image"
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user