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:
meep-eep
2005-04-10 14:59:06 +00:00
parent 57f1ee224e
commit 2cf433bf99
+2 -6
View File
@@ -132,9 +132,7 @@ case "$OSNAME" in
LIB_SDL_VERSION='$(sdl11-config --version)' LIB_SDL_VERSION='$(sdl11-config --version)'
;; ;;
Darwin) Darwin)
LIB_SDL_CFLAGS='-I/System/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'
-I/Library/Frameworks/SDL.framework/Headers
-I$HOME/Library/Frameworks/SDL.framework/Headers'
LIB_SDL_LDFLAGS='-framework SDL -framework Cocoa -lobjc' LIB_SDL_LDFLAGS='-framework SDL -framework Cocoa -lobjc'
LIB_SDL_VERSION=$(echo \ LIB_SDL_VERSION=$(echo \
"SDL_MAJOR_VERSION.SDL_MINOR_VERSION.SDL_PATCHLEVEL" | \ "SDL_MAJOR_VERSION.SDL_MINOR_VERSION.SDL_PATCHLEVEL" | \
@@ -160,9 +158,7 @@ LIB_SDL_mixer_VERSION=""
LIB_SDL_image_NAME="SDL_image" LIB_SDL_image_NAME="SDL_image"
case "$OSNAME" in case "$OSNAME" in
Darwin) Darwin)
LIB_SDL_image_CFLAGS="-I/System/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'
-I/Library/Frameworks/SDL_image.framework/Headers
-I$HOME/Library/Frameworks/SDL_image.framework/Headers"
LIB_SDL_image_LDFLAGS="-framework SDL_image" LIB_SDL_image_LDFLAGS="-framework SDL_image"
;; ;;
*) *)