From cdc70b1d56c8b460d564e7f46e0a1d03e9b9aeee Mon Sep 17 00:00:00 2001 From: jet082 Date: Sun, 17 Nov 2019 04:16:07 -0800 Subject: [PATCH] ios support --- Makefile.libretro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.libretro b/Makefile.libretro index 09de602..556c6ec 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -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))