From 1766336e555aef3b1af700f780b659e80543e2a3 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Sun, 9 Feb 2025 19:44:03 -0500 Subject: [PATCH] Don't enable wxWidgets universal binary build by default When building on arm64 this causes wxWidgets to be built as x86_64. Instead we just want to build the native arch by default. --- build.py | 2 -- buildtools/build_wxwidgets.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build.py b/build.py index 0165887f..da09d1b8 100755 --- a/build.py +++ b/build.py @@ -1504,8 +1504,6 @@ def cmd_build_wx(options, args): if options.mac_arch: build_options.append("--mac_universal_binary=%s" % options.mac_arch) - else: - build_options.append("--mac_universal_binary=default") if options.no_config: build_options.append('--no_config') diff --git a/buildtools/build_wxwidgets.py b/buildtools/build_wxwidgets.py index d21ea1b3..b438e115 100644 --- a/buildtools/build_wxwidgets.py +++ b/buildtools/build_wxwidgets.py @@ -194,7 +194,7 @@ def main(wxDir, args): "gtk3" : (True, "On Linux build for gtk3"), "mac_distdir" : (None, "If set on Mac, will create an installer package in the specified dir."), "mac_universal_binary" - : ("default", "Comma separated list of architectures to include in the Mac universal binary"), + : ("", "Comma separated list of architectures to include in the Mac universal binary"), "mac_framework" : (False, "Install the Mac build as a framework"), "mac_framework_prefix" : (defFwPrefix, "Prefix where the framework should be installed. Default: %s" % defFwPrefix),