diff mbox series

[meta-python,2/2] python3-pandas: Loosen the search path for generated file sparse.pyx.c

Message ID 20250704012802.2817020-2-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/2] pstack: Always use gcc to compile it | expand

Commit Message

Khem Raj July 4, 2025, 1:28 a.m. UTC
Hardcoded path works only when target is x86_64, but fails for other
architectures, loosen the search path regexp

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb b/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb
index b817b0538d..d32f0e17bb 100644
--- a/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb
@@ -42,7 +42,7 @@  do_compile:append() {
 }
 
 do_install:prepend() {
-	sed -i -e 's;${S};;g' ${B}/pandas/_libs/sparse.cpython-313-x86_64-linux-gnu.so.p/pandas/_libs/sparse.pyx.c
+	sed -i -e 's;${S};;g' ${B}/pandas/_libs/sparse.cpython-*/pandas/_libs/sparse.pyx.c
 }
 
 EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include "