13
0

Fix macOS High Sierra build-target naming

This commit is contained in:
Robin Gareus 2020-12-02 00:59:55 +01:00
parent 7e9d4f9e73
commit ee1434f47d
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -454,7 +454,7 @@ int main() { return 0; }''',
elif re.search ("^16[.]", version) != None: elif re.search ("^16[.]", version) != None:
conf.env['build_target'] = 'sierra' conf.env['build_target'] = 'sierra'
elif re.search ("^17[.]", version) != None: elif re.search ("^17[.]", version) != None:
conf.env['build_target'] = 'high sierra' conf.env['build_target'] = 'high_sierra'
elif re.search ("^18[.]", version) != None: elif re.search ("^18[.]", version) != None:
conf.env['build_target'] = 'mojave' conf.env['build_target'] = 'mojave'
elif re.search ("^19[.]", version) != None: elif re.search ("^19[.]", version) != None: