diff --git a/common/build-style/python3-pep517.sh b/common/build-style/python3-pep517.sh index 1a3c6d31eed..4051185a28e 100644 --- a/common/build-style/python3-pep517.sh +++ b/common/build-style/python3-pep517.sh @@ -25,6 +25,8 @@ do_install() { # As with do_build, no need to accommodate cross compilation here : ${make_install_target:=${pkgname#python3-}-${version}-*-*-*.whl} + # If do_build was overridden, make sure the TMPDIR exists + mkdir -p build TMPDIR=build python3 -m pip install --use-pep517 --prefix /usr \ --root ${DESTDIR} --no-deps --no-build-isolation \ --no-clean ${make_install_args} ${make_install_target}