mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-24 22:00:13 +00:00
no-bug: Fallbac to macos SDK version 26.4 if 26.5 doesnt exist (gh-13808)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user