From 5ae6f04d6bb3647419b02e0e0f4d8198b9e44bb2 Mon Sep 17 00:00:00 2001 From: der richter Date: Wed, 18 Nov 2020 23:31:59 +0100 Subject: 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 --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') 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', -- cgit v1.2.3