mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-13 08:10:08 +01:00
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:
2
build.py
2
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')
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user