From dc116e51af829a896160478928b45e61ebe7eaf8 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Mon, 21 Oct 2024 17:38:40 -0400 Subject: [PATCH] ios/tvos: properly set min supported version (#148) --- Makefile.libretro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index bb6163d..df62c41 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -243,6 +243,7 @@ else MINVERSION = -miphoneos-version-min=5.0 endif PLATFORM_DEFINES := $(MINVERSION) + LDFLAGS += $(MINVERSION) ifeq ($(platform),ios-arm64) PLATFORM_DEFINES += -D_IOS_ARM64 @@ -258,6 +259,9 @@ else ifeq ($(platform), tvos-arm64) PLATFORM_DEFINES += -D_IOS_ARM64 CC = cc -arch arm64 -isysroot $(IOSSDK) CXX = c++ -arch arm64 -isysroot $(IOSSDK) + MINVERSION = -mappletvos-version-min=11.0 + PLATFORM_DEFINES := $(MINVERSION) + LDFLAGS += $(MINVERSION) # Theos else ifeq ($(platform), theos_ios)