diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/vala.bbclass | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/classes/vala.bbclass b/classes/vala.bbclass index bcd906aeb9..125820c00c 100644 --- a/classes/vala.bbclass +++ b/classes/vala.bbclass @@ -1,3 +1,14 @@ DEPENDS += "vala-native" -FILES_${PN}-dev += "${datadir}/vala/vapi/*.vapi" +FILES_${PN}-dev += "\ + ${datadir}/vala/vapi/*.vapi \ + ${datadir}/vala/vapi/*.deps \ +" + +# .vapi and .deps files are arch independent and need to be present in the +# staging datadir for the native vala compiler +do_stage_append() { + install -d ${STAGING_DATADIR_NATIVE}/vala/vapi + find . -name "*.vapi" -exec install -m 0644 {} ${STAGING_DATADIR_NATIVE}/vala/vapi/ \; + find . -name "*.deps" -exec install -m 0644 {} ${STAGING_DATADIR_NATIVE}/vala/vapi/ \; +} |