]> code.ossystems Code Review - openembedded-core.git/commitdiff
shared-mime-info: update the database also in native builds
authorAlexander Kanavin <alex.kanavin@gmail.com>
Mon, 28 Jan 2019 12:46:34 +0000 (13:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Jan 2019 17:28:20 +0000 (17:28 +0000)
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>
meta/recipes-support/shared-mime-info/shared-mime-info.inc

index 344da7ea77cebb15bf0435f0cade4cfb815b4843..3fe1a445b0c6ecdb905e542cc1d089e5fa013bf9 100644 (file)
@@ -30,6 +30,8 @@ do_install () {
 
 do_install_class-native () {
        autotools_do_install
+
+       ${B}/update-mime-database ${D}${datadir}/mime
 }
 
 BBCLASSEXTEND = "native nativesdk"