Message ID | 20220331005935.3921128-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-python] python3-wxgtk4: Use cross prefix with native wx-config | expand |
On 3/31/22 8:59 AM, Khem Raj wrote: > 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 <raj.khem@gmail.com> > Cc: Kai Kang <kai.kang@windriver.com> > --- > .../recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb > index af7b51d83b..e61b00efa4 100644 > --- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb > +++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb > @@ -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.
diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb index af7b51d83b..e61b00efa4 100644 --- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb +++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb @@ -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 \
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 <raj.khem@gmail.com> Cc: Kai Kang <kai.kang@windriver.com> --- .../recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)