diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-17 15:13:12 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-20 23:32:40 +0200 |
| commit | c432ef98c4cf3b2bda32734983eec3b42b8c3d1e (patch) | |
| tree | 9af3cffce1e78bc3f93195e063faa48055b347be /cscript | |
| parent | 4ce4b8d3429a97eb4df63460c7e73863f44a621e (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) |
