From 01a8ffd92f64d0c5b1280081a71d46984cb290dd Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Tue, 15 Oct 2024 15:30:42 -0400 Subject: [PATCH] ios/tvos: properly set min supported version --- libretro/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretro/Makefile b/libretro/Makefile index ca2038b..93130c3 100644 --- a/libretro/Makefile +++ b/libretro/Makefile @@ -82,6 +82,7 @@ else ifneq (,$(findstring ios,$(platform))) MINVERSION = -miphoneos-version-min=5.0 endif PLATFORM_DEFINES += $(MINVERSION) + LDFLAGS += $(MINVERSION) # tvOS else ifeq ($(platform), tvos-arm64) @@ -97,6 +98,9 @@ else ifeq ($(platform), tvos-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)