summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2020-11-18 23:31:59 +0100
committerJan Ekström <jeebjp@gmail.com>2020-11-22 13:44:16 +0200
commit5ae6f04d6bb3647419b02e0e0f4d8198b9e44bb2 (patch)
treed0a5fbc5d5fb17ebd7125b720c6292a1be7d9675 /wscript
parent959097c880d9dcf83cb2edbdf8a2403ae997f713 (diff)
downloadmpv-5ae6f04d6bb3647419b02e0e0f4d8198b9e44bb2.tar.bz2
mpv-5ae6f04d6bb3647419b02e0e0f4d8198b9e44bb2.tar.xz
build: fix macOS arm builds
remove the hardcoded swift target version and move the version restriction to configure. this was a bad idea anyway and could lead to mismatched object files between obj-c and swift. fix travis 10.12 legacy build. also update the SDK version parser to handle the new macOS 11 scheme. Fixes #8281
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 878e4f2596..b81f1202ec 100644
--- a/wscript
+++ b/wscript
@@ -182,7 +182,7 @@ main_dependencies = [
'name': '--swift',
'desc': 'macOS Swift build tools',
'deps': 'os-darwin',
- 'func': check_swift,
+ 'func': compose_checks(check_swift, check_macos_sdk('10.10')),
}, {
'name': '--uwp',
'desc': 'Universal Windows Platform',