From 3c3e51e091f83118da5489872e8e9910a636f3de Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Thu, 2 Sep 2021 12:57:29 +0200 Subject: [PATCH] Compile Python with `--enable-shared` See https://github.com/readthedocs/readthedocs-docker-images/pull/130 --- readthedocs/doc_builder/python_environments.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readthedocs/doc_builder/python_environments.py b/readthedocs/doc_builder/python_environments.py index c0f323a7e3c..ef584850e68 100644 --- a/readthedocs/doc_builder/python_environments.py +++ b/readthedocs/doc_builder/python_environments.py @@ -384,6 +384,8 @@ def install_languages(self): # If the language version selected is not available from the # cache we compile it at build time cmd = [ + 'env', + 'PYTHON_CONFIGURE_OPTS="--enable-shared"', 'asdf', 'install', language,