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

View File

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