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))