#5699 Only put MacOSX version number in filename when deploying for exact SDK

This commit is contained in:
Andrew Nelless 2016-11-03 14:55:36 +00:00
parent 5cccac360c
commit f2f4b05c6f
1 changed files with 4 additions and 1 deletions

View File

@ -1854,7 +1854,10 @@ class InternalCommands:
# version is major and minor with no dots (e.g. 106)
version = str(major) + str(minor)
return "MacOSX%s-%s" % (version, arch)
if (self.macDeploy == self.macSdk):
return "MacOSX%s-%s" % (version, arch)
else:
return "MacOSX-%s" % arch
def reset(self):
if os.path.exists('build'):