cli: python-tools: Add toolchain to PATH to fix building wheels

This commit is contained in:
ColorfulRhino 2024-06-25 15:25:51 +02:00 committed by Igor
parent 024c0866ad
commit 9ff35b77b9

View File

@ -118,6 +118,7 @@ function prepare_python_and_pip() {
"PYTHONUSERBASE=${PYTHON3_INFO[USERBASE]}"
"PYTHONUNBUFFERED=yes"
"PYTHONPYCACHEPREFIX=${PYTHON3_INFO[PYCACHEPREFIX]}"
"PATH=\"${toolchain}:${PYTHON3_INFO[USERBASE]}/bin:${PATH}\"" # add toolchain to PATH to make building wheels work
)
# If the hash file exists, we're done.