mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-16 11:55:38 +02:00
Fix building SDL for iOS
This commit is contained in:
parent
5a4143298b
commit
ead4088c88
2 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
SDK := iphoneos
|
SDK := iphoneos
|
||||||
ARCH := armv7
|
ARCH := armv7
|
||||||
HOST := $(ARCH)-iphone-darwin
|
HOST := $(ARCH)-ios-darwin
|
||||||
MINIMUM_REQUIRED := 10.0
|
MINIMUM_REQUIRED := 10.0
|
||||||
|
|
||||||
SDL_FLAGS := ${SDL_FLAGS}
|
SDL_FLAGS := ${SDL_FLAGS}
|
||||||
|
|
|
@ -172,8 +172,7 @@ $(DOWNLOADS)/sdl2/configure: $(DOWNLOADS)/sdl2/autogen.sh
|
||||||
cd $(DOWNLOADS)/sdl2; ./autogen.sh
|
cd $(DOWNLOADS)/sdl2; ./autogen.sh
|
||||||
|
|
||||||
$(DOWNLOADS)/sdl2/autogen.sh:
|
$(DOWNLOADS)/sdl2/autogen.sh:
|
||||||
$(CLONE) $(GITHUB)/SDL-mirror/SDL $(DOWNLOADS)/sdl2; \
|
$(CLONE) $(GITLAB)/mkxp-z/SDL $(DOWNLOADS)/sdl2 -b mkxp-z; cd $(DOWNLOADS)/sdl2
|
||||||
cd $(DOWNLOADS)/sdl2; git checkout 49052b8a81be445eb178be5270db6b3ed140d9f5
|
|
||||||
|
|
||||||
# SDL2 (Image)
|
# SDL2 (Image)
|
||||||
sdl2image: init_dirs sdl2 libpng libjpeg $(LIBDIR)/libSDL2_image.a
|
sdl2image: init_dirs sdl2 libpng libjpeg $(LIBDIR)/libSDL2_image.a
|
||||||
|
@ -277,7 +276,7 @@ custom-ruby-configure: $(RUBY_PATH)/*.c
|
||||||
|
|
||||||
# ====
|
# ====
|
||||||
init_dirs:
|
init_dirs:
|
||||||
mkdir -p $(LIBDIR) $(INCLUDEDIR)
|
@mkdir -p $(LIBDIR) $(INCLUDEDIR)
|
||||||
|
|
||||||
clean: clean-compiled
|
clean: clean-compiled
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue