From 61ae3b9fd56f8e5259e23213c3e7c490798b1484 Mon Sep 17 00:00:00 2001 From: Tom Gabsow Date: Tue, 4 Nov 2025 18:01:02 +0200 Subject: [PATCH] RED-175184 Support macOS 15 and add dynamic_lookup for module linking - Add macOS 15 (Sequoia) support with SDK version 15.0 - Add -undefined dynamic_lookup flag for module linking on macOS - Remove duplicate sonoma entry in version check --- mk/cc.defs | 1 + mk/macos.defs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mk/cc.defs b/mk/cc.defs index 8560bea..5106bb3 100644 --- a/mk/cc.defs +++ b/mk/cc.defs @@ -180,6 +180,7 @@ endef define SO_LD_FLAGS.macos += -dynamiclib + -undefined dynamic_lookup endef LINK_SO_INTERNAL_BINDING ?= 1 diff --git a/mk/macos.defs b/mk/macos.defs index 87ab2e3..d9b9570 100644 --- a/mk/macos.defs +++ b/mk/macos.defs @@ -20,8 +20,6 @@ else ifeq ($(OSNICK),bigsur) OSX_MIN_SDK_VER=11.00 else ifeq ($(OSNICK),catalina) OSX_MIN_SDK_VER=10.15 -else ifeq ($(OSNICK),sonoma) -OSX_MIN_SDK_VER=14.2 endif CC_FLAGS.macos += -mmacosx-version-min=$(OSX_MIN_SDK_VER)