Merge pull request #3 from jet082/master

ios support
This commit is contained in:
Vladimir Serbinenko 2020-06-16 16:14:19 +02:00 committed by GitHub
commit 44594c727b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,8 +107,8 @@ else ifeq ($(platform), osx)
# iOS
else ifneq (,$(findstring ios,$(platform)))
TARGET := $(TARGET_NAME)_libretro_ios.dylib
fpic := -fPIC
SHARED := -dynamiclib
fpic := -fPIC
ifeq ($(IOSSDK),)
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
endif
@ -117,6 +117,7 @@ else ifneq (,$(findstring ios,$(platform)))
else
CC = clang -arch armv7 -isysroot $(IOSSDK)
endif
LD = $(CC)
CFLAGS += -DIOS
CFLAGS += -DARM
ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))