From: Richard Purdie Date: Wed, 6 Jul 2022 16:34:19 +0000 (+0100) Subject: vala: Fix on target wrapper buildpaths issue X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3662 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=10980ae59f18679413f2d3fd428a9386e4d6fc3a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git vala: Fix on target wrapper buildpaths issue The on target wrapper contains paths from the host build. Remove them. Signed-off-by: Richard Purdie Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala.inc index 90e0b77de0c..974baa33f5b 100644 --- a/meta/recipes-devtools/vala/vala.inc +++ b/meta/recipes-devtools/vala/vala.inc @@ -60,3 +60,9 @@ vapigen_sysroot_preprocess() { } SSTATE_SCAN_FILES += "vapigen-wrapper" + +PACKAGE_PREPROCESS_FUNCS += "vala_package_preprocess" + +vala_package_preprocess () { + sed -i -e 's:${RECIPE_SYSROOT}::g;' ${PKGD}${bindir}/vapigen-wrapper +}