From a17213d89caa8c852c8e8b67795d7118a89b0bf5 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sat, 4 Feb 2017 19:00:48 +0200 Subject: [PATCH] Fixed SDL compilation on macOS Sierra --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5e749c6a..5c226446 100755 --- a/Makefile +++ b/Makefile @@ -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)