python3-wxgtk4: Use cross prefix with native wx-config
PATCH 1/1 python3-wxgtk4: Use cross prefix with native wx-config
This ensures that it relocates the returns of queries w.r.t. target sysroot and not based on native sysroot where this tool itself resides and uses that by default. Fixes build issues seen on mips architecture
Signed-off-by Khem Raj <[email protected]>
Cc Kai Kang <[email protected]>
--- .../recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb +1 -1
@@ -18,7 +18,7 @@ S = "${WORKDIR}/wxPython-${PV}" inherit pypi setuptools3 pkgconfig -export WX_CONFIG = "${RECIPE_SYSROOT_NATIVE}${bindir}/wx-config" +export WX_CONFIG = "'${RECIPE_SYSROOT_NATIVE}${bindir}/wx-config --prefix=${STAGING_EXECPREFIXDIR}'" RDEPENDS:${PN} = "\ python3-difflib \
Signature · 1 line
2.35.1
Quoted 15 lines · Khem Raj
This ensures that it relocates the returns of queries w.r.t. target sysroot and not based on native sysroot where this tool itself resides and uses that by default. Fixes build issues seen on mips architecture
Signed-off-by Khem Raj <[email protected]>Cc Kai Kang <[email protected]>--- .../recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb +0
-0
meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb S = "${WORKDIR}/wxPython-${PV}" · line 24
Quoted 8 lines
meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb +1
-1@@ -18,7 +18,7 @@ S = "${WORKDIR}/wxPython-${PV}" inherit pypi setuptools3 pkgconfig -export WX_CONFIG = "${RECIPE_SYSROOT_NATIVE}${bindir}/wx-config" +export WX_CONFIG = "'${RECIPE_SYSROOT_NATIVE}${bindir}/wx-config --prefix=${STAGING_EXECPREFIXDIR}'" RDEPENDS:${PN} = "\ python3-difflib \
Thanks a lot.
Signature · 2 lines
Kai Kang Wind River Linux