Merge pull request #29 from yoshisuga/tvos_platform

(tvOS) support building
This commit is contained in:
Twinaphex 2019-09-14 06:58:36 +02:00 committed by GitHub
commit d6731b9b25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,6 +113,16 @@ else
CC += -miphoneos-version-min=5.0
SHARED += -miphoneos-version-min=5.0
endif
# tvOS
else ifeq ($(platform), tvos-arm64)
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
fpic = -fPIC
SHARED := -dynamiclib
ifeq ($(IOSSDK),)
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
endif
else ifeq ($(platform), theos_ios)
DEPLOYMENT_IOSVERSION = 5.0
TARGET = iphone:latest:$(DEPLOYMENT_IOSVERSION)