From ca6d7ecead23d33c4a23b25b7057b863da89d158 Mon Sep 17 00:00:00 2001 From: "mr. m" <91018726+mr-cheffy@users.noreply.github.com> Date: Sat, 23 May 2026 08:31:03 +0200 Subject: [PATCH] no-bug: Fallbac to macos SDK version 26.4 if 26.5 doesnt exist (gh-13808) --- configs/macos/mozconfig | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/macos/mozconfig b/configs/macos/mozconfig index e7f655940..c838095cd 100644 --- a/configs/macos/mozconfig +++ b/configs/macos/mozconfig @@ -8,7 +8,13 @@ ac_add_options --disable-dmd ac_add_options --enable-eme=widevine if test "$ZEN_RELEASE"; then - ac_add_options --with-macos-sdk=/Library/Developer/CommandLineTools/SDKs/MacOSX26.5.sdk + ALLOWED_SDKS="26.5 26.4" + for SDK in $ALLOWED_SDKS; do + if [ -d "/Library/Developer/CommandLineTools/SDKs/MacOSX${SDK}.sdk" ]; then + ac_add_options --with-macos-sdk=/Library/Developer/CommandLineTools/SDKs/MacOSX${SDK}.sdk + break + fi + done fi if test "$ZEN_RELEASE"; then