diff options
author | Christian Heimes <christian@python.org> | 2021-12-06 16:13:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-06 16:13:53 (GMT) |
commit | 612e59b53f0c730ce1b881f7c08dc6d49f02c123 (patch) | |
tree | 175bec8ab0204e65dbecc6aed19e09265439b9eb /configure | |
parent | 98fac8bc183c113903403793ffe411358ee40d8a (diff) | |
download | cpython-612e59b53f0c730ce1b881f7c08dc6d49f02c123.zip cpython-612e59b53f0c730ce1b881f7c08dc6d49f02c123.tar.gz cpython-612e59b53f0c730ce1b881f7c08dc6d49f02c123.tar.bz2 |
bpo-45950: Fix macOS framework builds of _bootstrap_python (GH-29936)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1736,7 +1736,7 @@ Optional Packages: path to _freeze_module binary for cross compiling --with-build-python=python3.11 path to build python binary for cross compiling - (default: python3.11) + (default: _bootstrap_python or python3.11) --with-pkg-config=[yes|no|check] use pkg-config to detect build options (default is check) @@ -3243,14 +3243,11 @@ if test "${with_build_python+set}" = set; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-build-python" >&5 $as_echo_n "checking for --with-build-python... " >&6; } - if test "x$cross_compiling" = xno; then : - as_fn_error $? "--with-build-python only applies to cross compiling" "$LINENO" 5 -fi if test "x$with_build_python" = xyes; then : with_build_python=python$PACKAGE_VERSION fi if test "x$with_build_python" = xno; then : - as_fn_error $? "invalid --with-build-python option: expected path, not \"no\"" "$LINENO" 5 + as_fn_error $? "invalid --with-build-python option: expected path or \"yes\", not \"no\"" "$LINENO" 5 fi if ! $(command -v "$with_build_python" >/dev/null 2>&1); then |