no-bug: Fallbac to macos SDK version 26.4 if 26.5 doesnt exist (gh-13808)

This commit is contained in:
mr. m
2026-05-23 08:31:03 +02:00
committed by mr. m
parent 5203caf133
commit ca6d7ecead

View File

@@ -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