| Message ID | 20260807103540.3404860-2-ross.burton@arm.com |
|---|---|
| State | New |
| Headers | show |
| Series | [v2,1/2] 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..e700222126d 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,12 @@ do_install:append() { sed -i \ -e 's|${S}=||g' \ -e 's|${B}=||g' \ + -e 's|${HOSTTOOLS_DIR}||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' \ + ${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. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-devtools/python/python3-numpy_2.5.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)