diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-17 15:13:12 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-18 07:38:34 +0200 |
| commit | e102a01b4d9e00a712090a3a82a596703dc65812 (patch) | |
| tree | 5a8b202baf533ea88ca7c95375423dd517dfb168 /cscript | |
| parent | 3b28f6ad6e4ebdbab8928079b63f962844060c2b (diff) | |
Restore support for building thin or universal binaries for macOS.
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -703,7 +703,8 @@ def package(target, version, options): elif target.distro == 'centos' or target.distro == 'fedora' or target.distro == 'mageia': return package_rpm(target, cpu, version, options) elif target.platform == 'osx': - target.command('bash platform/osx/make_dmg.sh %s %s %s %s' % (target.environment_prefix, target.directory, target.apple_id, target.apple_password)) + archs = ' '.join(f'{t.arch}/{t.deployment}' for t in target.sub_targets) + target.command('bash platform/osx/make_dmg.sh %s %s %s %s %s' % (target.environment_prefix, target.directory, target.apple_id, target.apple_password, archs)) packages = [] for x in glob.glob('build/platform/osx/DCP-o-matic*.dmg'): a = os.path.abspath(x) |
