From 49d955d584194e2db4b5053b45287f65190dd2c0 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Tue, 1 Mar 2022 09:25:20 +0300 Subject: [PATCH] Fix typo in looked-for argument name --- plugins/python-build/bin/python-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 39886b1b..cd333a4a 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -2130,7 +2130,7 @@ if [[ "$CONFIGURE_OPTS $PYTHON_CONFIGURE_OPTS" == *"--enable-universalsdk"* ]]; exit 1 fi package_option python configure --enable-universalsdk=/ - if [[ "$CONFIGURE_OPTS $PYTHON_CONFIGURE_OPTS" != *"--enable-universal-archs"* ]]; then + if [[ "$CONFIGURE_OPTS $PYTHON_CONFIGURE_OPTS" != *"--with-universal-archs"* ]]; then # in CPython's configure.ac, --with-universal-archs defaults to 'intel' which means i386 + x86_64 # since 2.7.5 and 3.3.0 -- i.e. in all non-EOL versions # Apple Silicon cannot build these, in it, it rather makes sense to default to Universal2 binaries