]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
support user install of SDL framework
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 17 Jun 2010 21:39:12 +0000 (21:39 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 17 Jun 2010 21:39:12 +0000 (21:39 +0000)
From: Merlijn Hofstra <merlijnhofstra@mh.local>

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

makefile.inc

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