Use SDL 2.0.1 headers for macOS ppc64

The libSDL2-2.0.0.dylib in repo doesn't support ppc64 though.

Based on patch by MAN-AT-ARMS.
This commit is contained in:
Zack Middleton 2018-05-12 13:36:37 -05:00
parent ffd9ce1902
commit f4db711024

View file

@ -504,7 +504,7 @@ ifeq ($(PLATFORM),darwin)
ifeq ($(USE_LOCAL_HEADERS),1) ifeq ($(USE_LOCAL_HEADERS),1)
# libSDL2-2.0.0.dylib for PPC is SDL 2.0.1 + changes to compile # libSDL2-2.0.0.dylib for PPC is SDL 2.0.1 + changes to compile
ifeq ($(ARCH),ppc) ifneq ($(findstring $(ARCH),ppc ppc64),)
BASE_CFLAGS += -I$(SDLHDIR)/include-macppc BASE_CFLAGS += -I$(SDLHDIR)/include-macppc
else else
BASE_CFLAGS += -I$(SDLHDIR)/include BASE_CFLAGS += -I$(SDLHDIR)/include