diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2020-11-24 12:06:05 +0000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2020-12-07 13:37:33 +1100 |
commit | 2d951a3a515888ae531dccfd736cdfc5129075fd (patch) | |
tree | b9dacff60e19f2d51335a4836c78cff28d49c18e | |
parent | e50ed6df8c14bcdd17d21dece9a9bad7416aa539 (diff) |
Fix Big Sur detection1.18.2
XCode's python returns 11.0
Homebrew's python returns 10.16
Fixes #311
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/664>
-rw-r--r-- | cerbero/utils/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py index fd7c7190..d5ec0ece 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -333,7 +333,7 @@ Terminating.''', file=sys.stderr) elif platform == Platform.DARWIN: distro = Distro.OS_X ver = pplatform.mac_ver()[0] - if ver.startswith('11.0'): + if ver.startswith(('11.0', '10.16')): distro_version = DistroVersion.OS_X_BIG_SUR elif ver.startswith('10.15'): distro_version = DistroVersion.OS_X_CATALINA |