Fixed SDL compilation on macOS Sierra
This commit is contained in:
parent
eed8a06fc0
commit
a17213d89c
2
Makefile
2
Makefile
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user