Skip to content

Commit

Permalink
Allow MacOSX SDK versions 10.x and 11.x in build scripts
Browse files Browse the repository at this point in the history
Fixes: #43871
Change-Id: Ic86d65311c198c677caaa1c7fb51d779baa7a335
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168825
Reviewed-by: Alexander Thomas <athom@google.com>
  • Loading branch information
whesse committed Oct 22, 2020
1 parent d68567d commit a1d19ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/mac/find_sdk.py
Expand Up @@ -107,7 +107,7 @@ def main():
else:
sdk_dir = os.path.join(out.rstrip(), 'SDKs')
sdks = [
re.findall('^MacOSX(10\.\d+)\.sdk$', s) for s in os.listdir(sdk_dir)
re.findall('^MacOSX(1[01]\.\d+)\.sdk$', s) for s in os.listdir(sdk_dir)
]
sdks = [s[0] for s in sdks if s] # [['10.5'], ['10.6']] => ['10.5', '10.6']
sdks = [
Expand Down

0 comments on commit a1d19ac

Please sign in to comment.