Tidy up and correct a few things
This commit is contained in:
@@ -259,9 +259,9 @@ def setup_python(python_configuration: PythonConfiguration,
|
||||
# set ARCHFLAGS otherwise CPython sets it to `-arch x86_64`
|
||||
env.setdefault('ARCHFLAGS', '-arch arm64 -arch x86_64')
|
||||
|
||||
if python_configuration.identifier.endswith('_arm64') or python_configuration.identifier.endswith('_universal2'):
|
||||
if python_configuration.identifier.endswith('arm64') or python_configuration.identifier.endswith('universal2'):
|
||||
if get_macos_version() < (10, 16):
|
||||
# xcode 12 or higher can build arm64 on macos 10.15 or below, but
|
||||
# xcode 12.2 or higher can build arm64 on macos 10.15 or below, but
|
||||
# needs the correct SDK selected
|
||||
|
||||
# however, different versions of Xcode contain different SDK
|
||||
|
||||
Reference in New Issue
Block a user