diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-18 08:56:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-18 08:56:25 (GMT) |
commit | 753fe41418bfc9de66990697cfbcce171cfcede7 (patch) | |
tree | 5c579f54ceaf889ee99a37918203c0df297c5bc2 /configure.ac | |
parent | 79d22694f2b9be45f29e685ff9b6220f0c4437f9 (diff) | |
download | cpython-753fe41418bfc9de66990697cfbcce171cfcede7.zip cpython-753fe41418bfc9de66990697cfbcce171cfcede7.tar.gz cpython-753fe41418bfc9de66990697cfbcce171cfcede7.tar.bz2 |
gh-84461: Fix circulare dependency on BUILDPYTHON (GH-93977)
(cherry picked from commit 084023ccbeb3bf54a2e19873c6a4b0bec7b617f6)
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d663913..9bcb381 100644 --- a/configure.ac +++ b/configure.ac @@ -143,6 +143,7 @@ AS_VAR_IF([cross_compiling], [yes], FREEZE_MODULE_BOOTSTRAP_DEPS='$(srcdir)/Programs/_freeze_module.py' FREEZE_MODULE='$(FREEZE_MODULE_BOOTSTRAP)' FREEZE_MODULE_DEPS='$(FREEZE_MODULE_BOOTSTRAP_DEPS)' + PYTHON_FOR_BUILD_DEPS='' ], [ dnl internal build tools also depend on Programs/_freeze_module and _bootstrap_python. @@ -150,12 +151,14 @@ AS_VAR_IF([cross_compiling], [yes], FREEZE_MODULE_BOOTSTRAP_DEPS="Programs/_freeze_module" FREEZE_MODULE='$(PYTHON_FOR_FREEZE) $(srcdir)/Programs/_freeze_module.py' FREEZE_MODULE_DEPS="_bootstrap_python \$(srcdir)/Programs/_freeze_module.py" + PYTHON_FOR_BUILD_DEPS='$(BUILDPYTHON)' ] ) AC_SUBST([FREEZE_MODULE_BOOTSTRAP]) AC_SUBST([FREEZE_MODULE_BOOTSTRAP_DEPS]) AC_SUBST([FREEZE_MODULE]) AC_SUBST([FREEZE_MODULE_DEPS]) +AC_SUBST([PYTHON_FOR_BUILD_DEPS]) AC_CHECK_PROGS([PYTHON_FOR_REGEN], [python$PACKAGE_VERSION python3.10 python3.9 python3.8 python3.7 python3.6 python3 python], |