| Message ID | 20260805113634.79174-2-ross.burton@arm.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | [1/3] systemd: add missing libucontext dependency on musl | expand |
diff --git a/meta/recipes-devtools/python/python3-numpy_2.5.1.bb b/meta/recipes-devtools/python/python3-numpy_2.5.1.bb index 88786dc0168..d053cc56932 100644 --- a/meta/recipes-devtools/python/python3-numpy_2.5.1.bb +++ b/meta/recipes-devtools/python/python3-numpy_2.5.1.bb @@ -29,10 +29,10 @@ do_install:append() { sed -i \ -e 's|${S}=||g' \ -e 's|${B}=||g' \ - -e 's|${RECIPE_SYSROOT_NATIVE}=||g' \ -e 's|${RECIPE_SYSROOT_NATIVE}||g' \ - -e 's|${RECIPE_SYSROOT}=||g' \ - -e 's|${RECIPE_SYSROOT}||g' ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py + -e 's|${RECIPE_SYSROOT}||g' \ + -e 's|${HOSTTOOLS_DIR}||g' \ + ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py nativepython3 -mcompileall -s ${D} ${D}${PYTHON_SITEPACKAGES_DIR}/numpy/__config__.py }
If ccache is enabled then HOSTTOOLS_DIR ends up in __config__.py, so remove that path too. Also remove redundant entries: there's no need to remove both ${RECIPE_SYSROOT}= and ${RECIPE_SYSROOT}. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-devtools/python/python3-numpy_2.5.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)