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,