diff options
author | Akemi <der.richter@gmx.de> | 2018-11-24 13:14:22 +0100 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-04-02 01:43:54 +0300 |
commit | 61005e10ea40b122fc6546cf3094a6cd5fbeb808 (patch) | |
tree | 79d9d24f201ddb1f532a92df499cd6002876c85d | |
parent | c90f083614ea9a0e46a73b35e6f1e804cec5ae77 (diff) | |
download | mpv-61005e10ea40b122fc6546cf3094a6cd5fbeb808.tar.bz2 mpv-61005e10ea40b122fc6546cf3094a6cd5fbeb808.tar.xz |
build: bump minimum swift version to 3.0.2
#6299 reported problems with earlier 3.0.x swift versions. i tested with
3.0.2/SDK 10.12.2 and just assumed it also works with the older 3.0.x
swift and 10.12.x SDK versions. due to the unstable nature of swift
there were slight API differences that caused build problems.
since swift is bundled with the SDK we just bump the minimum swift
version.
-rw-r--r-- | waftools/checks/custom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py index fe0c079df1..ed5865a25c 100644 --- a/waftools/checks/custom.py +++ b/waftools/checks/custom.py @@ -114,7 +114,7 @@ def check_cocoa(ctx, dependency_identifier): return res def check_swift(ctx, dependency_identifier): - minVer = StrictVersion("3.0") + minVer = StrictVersion("3.0.2") if ctx.env.SWIFT_VERSION: if StrictVersion(ctx.env.SWIFT_VERSION) >= minVer: ctx.add_optional_message(dependency_identifier, |