Merge pull request #54 from yoshisuga/tvos_support

(tvOS) Compile using tvOS SDK
This commit is contained in:
Twinaphex 2019-09-05 03:45:58 +02:00 committed by GitHub
commit efd437a2b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -140,6 +140,18 @@ else
CFLAGS += -miphoneos-version-min=5.0
endif
# tvOS
else ifeq ($(platform), tvos-arm64)
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
fpic := -fPIC
SHARED := -dynamiclib
CPU_ARCH := arm
CFLAGS += -DIOS -DHAVE_POSIX_MEMALIGN -marm
ifeq ($(IOSSDK),)
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
endif
# iOS Theos
else ifeq ($(platform), theos_ios)
DEPLOYMENT_IOSVERSION = 5.0