Add SDL 2.0.1 headers for macOS PPC
code/libs/macosx/libSDL2-2.0.0.dylib has 2.0.8 for x86 and x86_64 and 2.0.1 for PPC. Add 2.0.1 headers for PPC with modifed SDL_platform.h to allow compiling using macOS 10.5 SDK. Using separate headers allows the engine to check the SDL version for enabling newer SDL features.
This commit is contained in:
parent
5bf60a9504
commit
45af2594a0
74 changed files with 26123 additions and 1 deletions
7
Makefile
7
Makefile
|
@ -498,7 +498,12 @@ ifeq ($(PLATFORM),darwin)
|
|||
# 1. IF you try, this Makefile will still drop libSDL-2.0.0.dylib into the builddir
|
||||
# 2. Debugger warns that you have 2- which one will be used is undefined
|
||||
ifeq ($(USE_LOCAL_HEADERS),1)
|
||||
BASE_CFLAGS += -I$(SDLHDIR)/include
|
||||
# libSDL2-2.0.0.dylib for PPC is SDL 2.0.1 + changes to compile
|
||||
ifeq ($(ARCH),ppc)
|
||||
BASE_CFLAGS += -I$(SDLHDIR)/include-macppc
|
||||
else
|
||||
BASE_CFLAGS += -I$(SDLHDIR)/include
|
||||
endif
|
||||
endif
|
||||
|
||||
# We copy sdlmain before ranlib'ing it so that subversion doesn't think
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue