Makefile.darwin (SDL_FRAMEWORK_PATH): seems like older OSX ld does not

treat '-F dir' the same as '-Fdir' and fails, so directly use -Fdir as
LDFLAGS, instead of -Wl,-F,dir .


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1182 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2015-03-02 22:03:18 +00:00
parent 3d355d61ab
commit a6ae6b3afe

View file

@ -117,7 +117,7 @@ endif
# default to our local SDL[2].framework for build # default to our local SDL[2].framework for build
SDL_FRAMEWORK_PATH ?=../MacOSX SDL_FRAMEWORK_PATH ?=../MacOSX
ifneq ($(SDL_FRAMEWORK_PATH),) ifneq ($(SDL_FRAMEWORK_PATH),)
SDL_LIBS +=-Wl,-F,$(SDL_FRAMEWORK_PATH) SDL_LIBS +=-F$(SDL_FRAMEWORK_PATH)
SDL_CFLAGS+=-F$(SDL_FRAMEWORK_PATH) SDL_CFLAGS+=-F$(SDL_FRAMEWORK_PATH)
endif endif
SDL_LIBS +=-Wl,-framework,$(SDL_FRAMEWORK_NAME) -Wl,-framework,Cocoa SDL_LIBS +=-Wl,-framework,$(SDL_FRAMEWORK_NAME) -Wl,-framework,Cocoa