summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/shared-mime-info
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-01-28 13:46:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-28 23:14:10 +0000
commitafc016553ba1a089b766c5808d695093bda6aef6 (patch)
tree0b63695224df34bcb1b25ebd6e089d6429e78f27 /meta/recipes-support/shared-mime-info
parenta9f1348af9f26da65e6a01d9575abd6a5f4555b2 (diff)
downloadpoky-afc016553ba1a089b766c5808d695093bda6aef6.tar.gz
shared-mime-info: update the database also in native builds
Otherwise glib-compile-resources fails when building gtk+3-native. (From OE-Core rev: 06451327a777e481d5328c3eeb6b9225c8724ac1) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/shared-mime-info')
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info.inc b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
index 344da7ea77..3fe1a445b0 100644
--- a/meta/recipes-support/shared-mime-info/shared-mime-info.inc
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
@@ -30,6 +30,8 @@ do_install () {
30 30
31do_install_class-native () { 31do_install_class-native () {
32 autotools_do_install 32 autotools_do_install
33
34 ${B}/update-mime-database ${D}${datadir}/mime
33} 35}
34 36
35BBCLASSEXTEND = "native nativesdk" 37BBCLASSEXTEND = "native nativesdk"