From e102a01b4d9e00a712090a3a82a596703dc65812 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 17 May 2021 15:13:12 +0200 Subject: Restore support for building thin or universal binaries for macOS. --- cscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cscript') diff --git a/cscript b/cscript index cdbc8decb..9808e4d9b 100644 --- a/cscript +++ b/cscript @@ -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) -- cgit v1.2.3