]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
added a -I option on Mac OSX SDL builds to include the relevant Headers
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 6 Mar 2008 19:44:56 +0000 (19:44 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 6 Mar 2008 19:44:56 +0000 (19:44 +0000)
directory, added a reference to this in the relevant LIBS variables
(because SDLMain.m needs the includes as well)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8192 d7cf8633-e32d-0410-b094-e92efae38249

makefile.inc

index 9a9c51bbde48ce4f40ff31f2431df2ddde5fb604..93fccf49f1bb7244f70d04ab14975113491cae23 100644 (file)
@@ -20,9 +20,9 @@ SDL_CONFIG?=sdl-config
 SDLCONFIG_UNIXCFLAGS?=`$(SDL_CONFIG) --cflags`
 SDLCONFIG_UNIXLIBS?=`$(SDL_CONFIG) --libs`
 SDLCONFIG_UNIXSTATICLIBS?=`$(SDL_CONFIG) --static-libs`
-SDLCONFIG_MACOSXCFLAGS=
-SDLCONFIG_MACOSXLIBS=-framework SDL -framework Cocoa
-SDLCONFIG_MACOSXSTATICLIBS=-framework SDL -framework Cocoa
+SDLCONFIG_MACOSXCFLAGS=-I/Library/Frameworks/SDL.framework/Headers
+SDLCONFIG_MACOSXLIBS=-framework SDL -framework Cocoa $(SDLCONFIG_MACOSXCFLAGS)
+SDLCONFIG_MACOSXSTATICLIBS=-framework SDL -framework Cocoa $(SDLCONFIG_MACOSXCFLAGS)
 STRIP?=strip