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 <raj.khem@gmail.com>
Cc: Kai Kang <kai.kang@windriver.com>
This commit is contained in:
Khem Raj 2022-03-30 17:56:47 -07:00
parent f3a7de2bdf
commit f36fe239ad

View File

@ -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 \