This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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

…exact SDK
  • Loading branch information...
nlyan committed Nov 3, 2016
1 parent 5cccac3 commit f2f4b05c6f7a45395d04b8c0d5d3e00f20a7f543
Showing with 4 additions and 1 deletion.
  1. +4 −1 ext/toolchain/commands1.py
@@ -1854,7 +1854,10 @@ def getMacPackageName(self):
# 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'):

0 comments on commit f2f4b05

Please sign in to comment.