summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/vala/vala.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala.inc
index d3daee37dc..162e99bb03 100644
--- a/meta/recipes-devtools/vala/vala.inc
+++ b/meta/recipes-devtools/vala/vala.inc
@@ -50,6 +50,9 @@ do_install:append:class-target() {
50# vapi files. 50# vapi files.
51SYSROOT_DIRS += "${bindir_crossscripts}" 51SYSROOT_DIRS += "${bindir_crossscripts}"
52 52
53inherit multilib_script
54MULTILIB_SCRIPTS = "${PN}:${bindir}/vala-gen-introspect-0.56"
55
53SYSROOT_PREPROCESS_FUNCS:append:class-target = " vapigen_sysroot_preprocess" 56SYSROOT_PREPROCESS_FUNCS:append:class-target = " vapigen_sysroot_preprocess"
54vapigen_sysroot_preprocess() { 57vapigen_sysroot_preprocess() {
55 # Tweak the vapigen name in the vapigen pkgconfig file, so that it picks 58 # Tweak the vapigen name in the vapigen pkgconfig file, so that it picks
@@ -64,5 +67,5 @@ SSTATE_SCAN_FILES += "vapigen-wrapper"
64PACKAGE_PREPROCESS_FUNCS += "vala_package_preprocess" 67PACKAGE_PREPROCESS_FUNCS += "vala_package_preprocess"
65 68
66vala_package_preprocess () { 69vala_package_preprocess () {
67 sed -i -e 's:${RECIPE_SYSROOT}::g;' ${PKGD}${bindir_crossscripts}/vapigen-wrapper 70 rm -rf ${PKGD}${bindir_crossscripts}
68} 71}