summaryrefslogtreecommitdiffstats
path: root/meta
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 17:28:20 +0000
commit06451327a777e481d5328c3eeb6b9225c8724ac1 (patch)
treeedef623b2f3e4208aac60e018eff895268ce3790 /meta
parent0070b508259bb187a369a522f2884921b0c4e2fa (diff)
downloadopenembedded-core-06451327a777e481d5328c3eeb6b9225c8724ac1.tar.gz
openembedded-core-06451327a777e481d5328c3eeb6b9225c8724ac1.tar.bz2
openembedded-core-06451327a777e481d5328c3eeb6b9225c8724ac1.zip
shared-mime-info: update the database also in native builds
Otherwise glib-compile-resources fails when building gtk+3-native. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 () {
do_install_class-native () {
autotools_do_install
+
+ ${B}/update-mime-database ${D}${datadir}/mime
}
BBCLASSEXTEND = "native nativesdk"