summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2023-02-23 02:03:34 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2023-06-09 02:04:15 +0530
commit71c36e5bdf35020e953039789eb9a93e51dd0aa1 (patch)
tree088077bbbd1187ddfee8042ba17a7fdc93520008
parentd476d736eb0d142184f59b3c4e0288fd01b9386d (diff)
Bump minimum macOS version to 10.13 (High Sierra)
There are a bunch of reasons to do this: 1. This is the oldest version of macOS that people still use - Released 5½ years ago, went out of security support 2½ years ago - 93.5% according to https://www.statista.com/statistics/944559/worldwide-macos-version-market-share/ - 96.8% according to https://gs.statcounter.com/os-version-market-share/macos/desktop/worldwide 2. GLib uses `utimensat` added in 10.13 for nanosecond granularity file timestamps, which is an important feature 3. This is also the oldest version supported by Qt5 Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1117>
-rw-r--r--config/darwin.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/darwin.config b/config/darwin.config
index 88c94743..cf0f0f99 100644
--- a/config/darwin.config
+++ b/config/darwin.config
@@ -53,7 +53,7 @@ ret = shell.check_output(['xcodebuild', '-version']).strip()
assert(ret.startswith('Xcode'))
xcode_version = tuple(int(c) for c in ret.split()[1].split('.'))
-min_osx_sdk_version = min_osx_sdk_version or '10.11'
+min_osx_sdk_version = min_osx_sdk_version or '10.13'
sdk='-mmacosx-version-min=%s -isysroot %s' % (min_osx_sdk_version, sdk_root)
# Initialize all these so we can just do += later