From: Robin Dunn Date: Thu, 9 Aug 2012 16:54:24 +0000 (+0000) Subject: Allow --mac_universal_binary to use a "default" value. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/403c71da252ce8069cf4cecdc5eb7f6be156c90a Allow --mac_universal_binary to use a "default" value. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/build/tools/build-wxwidgets.py b/build/tools/build-wxwidgets.py index 8218c87b0f..3c5bf07e5c 100755 --- a/build/tools/build-wxwidgets.py +++ b/build/tools/build-wxwidgets.py @@ -337,7 +337,13 @@ def main(scriptName, args): shutil.rmtree(frameworkRootDir) if options.mac_universal_binary: - configure_opts.append("--enable-universal_binary=%s" % options.mac_universal_binary) + if options.mac_universal_binary == 'default': + if options.osx_cocoa: + configure_opts.append("--enable-universal_binary=i386,x86_64") + else: + configure_opts.append("--enable-universal_binary") + else: + configure_opts.append("--enable-universal_binary=%s" % options.mac_universal_binary) print("Configure options: " + repr(configure_opts))