Fixed SDL compilation on macOS Sierra

This commit is contained in:
Lior Halphon 2017-02-04 19:00:48 +02:00
parent eed8a06fc0
commit a17213d89c
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ SYSROOT := $(shell xcodebuild -sdk macosx -version Path 2> /dev/null)
CFLAGS += -F/Library/Frameworks
OCFLAGS += -x objective-c -fobjc-arc -Wno-deprecated-declarations -isysroot $(SYSROOT) -mmacosx-version-min=10.9
LDFLAGS += -framework AppKit -framework PreferencePanes -framework Carbon -framework QuartzCore
SDL_LDFLAGS := -framework SDL
SDL_LDFLAGS := -F/Library/Frameworks -framework SDL
endif
ifeq ($(PLATFORM),windows32)