From 9c0aa6e516f14c6ead2337e6f402bf5bdd460918 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 6 Mar 2008 19:44:56 +0000 Subject: [PATCH] added a -I option on Mac OSX SDL builds to include the relevant Headers 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makefile.inc b/makefile.inc index 9a9c51bb..93fccf49 100644 --- a/makefile.inc +++ b/makefile.inc @@ -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 -- 2.39.2