|
@@ -0,0 +1,27 @@
|
|
|
+# HG changeset patch
|
|
|
+# User Bill Gianopoulos <wgianopoulos@gmail.com>
|
|
|
+# Date 1675347502 0
|
|
|
+Bug 9999999 - allow using macOS SDK 11.3 for suite.
|
|
|
+
|
|
|
+diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure
|
|
|
+--- a/build/moz.configure/toolchain.configure
|
|
|
++++ b/build/moz.configure/toolchain.configure
|
|
|
+@@ -91,17 +91,17 @@ with only_when(host_is_osx | target_is_o
|
|
|
+ if "Version" not in obj:
|
|
|
+ raise Exception(
|
|
|
+ "Error finding Version information in SDKSettings.plist from the SDK: %s"
|
|
|
+ % sdk
|
|
|
+ )
|
|
|
+ return Version(obj["Version"])
|
|
|
+
|
|
|
+ def sdk_min_version():
|
|
|
+- return "13.0"
|
|
|
++ return "11.3"
|
|
|
+
|
|
|
+ @depends(
|
|
|
+ "--with-macos-sdk",
|
|
|
+ host,
|
|
|
+ bootstrap_path(
|
|
|
+ "MacOSX{}.sdk".format(sdk_min_version()),
|
|
|
+ when=depends("--with-macos-sdk")(lambda x: not x),
|
|
|
+ ),
|