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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1182 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2015-03-02 22:03:18 +00:00
parent 00846e545d
commit 3e1eae3e47

View file

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