[fix] link with CoreFoundation framework for osx and ios

This commit is contained in:
Rechi 2018-05-24 10:09:07 +02:00
parent 1ddc0c12f7
commit cea418d67b

View File

@ -92,12 +92,14 @@ endif
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
fpic += -mmacosx-version-min=10.1
LDFLAGS += -framework CoreFoundation
# iOS
else ifneq (,$(findstring ios,$(platform)))
EXT ?= dylib
TARGET := $(TARGET_NAME)_libretro_ios.$(EXT)
fpic := -fPIC
LDFLAGS += -framework CoreFoundation
SHARED := -dynamiclib
ifeq ($(IOSSDK),)