tvos: properly set min supported version (#25)

This commit is contained in:
Eric Warmenhoven 2024-10-21 13:02:32 -04:00 committed by GitHub
parent 31af5ca5f3
commit f95d929c8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,6 +132,9 @@ else ifeq ($(platform), tvos-arm64)
fpic := -fPIC
SHARED := -dynamiclib
DEFINES := -DIOS
MINVERSION = -mappletvos-version-min=11.0
CFLAGS += $(MINVERSION)
SHARED += $(MINVERSION)
ifeq ($(IOSSDK),)
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
endif