python-any-r1 is not to be used in packages requiring Python at runtime. It may not even be installed.
Signed-off-by: James Le Cuirot <[email protected]> --- eclass/python-any-r1.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/python-any-r1.eclass b/eclass/python-any-r1.eclass index 7c5ae87872eb..c46ca0e2444b 100644 --- a/eclass/python-any-r1.eclass +++ b/eclass/python-any-r1.eclass @@ -283,6 +283,11 @@ _python_EPYTHON_supported() { python_setup() { debug-print-function ${FUNCNAME} "${@}" + # Ensure Python wrappers are created against the build system's + # configuration as python-any-r1 is not to be used in packages + # requiring Python at runtime. It may not even be installed. + local SYSROOT ESYSROOT=${BROOT-${EPREFIX}} + # support developer override if [[ ${PYTHON_COMPAT_OVERRIDE} ]]; then local impls=( ${PYTHON_COMPAT_OVERRIDE} ) -- 2.19.2
