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.
This commit is contained in:
Scott Talbert
2025-02-09 19:44:03 -05:00
parent 828abb434c
commit 1766336e55
2 changed files with 1 additions and 3 deletions

View File

@@ -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')

View File

@@ -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),