[oe-commits] [openembedded-core] 07/28: glib-2.0: Remove recommend shared-mime-info for MinGW

git at git.openembedded.org git at git.openembedded.org
Fri Oct 6 11:05:47 UTC 2017

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit cc9d855660db27e82d1b37ab5d1820c556827635
Author: Alistair Francis <alistair.francis at xilinx.com>
AuthorDate: Mon Sep 25 15:56:55 2017 -0700

    glib-2.0: Remove recommend shared-mime-info for MinGW
    Commit glib-2.0: recommend shared-mime-info
    (51e4f9ca5368af5cefa26f4ca50b282e858982f8) broke compilation when cross
    compiling for Windows. This patch removes the recommendation for
    shared-mime-info when using MinGW cross compile.
    Signed-off-by: Alistair Francis <alistair.francis at xilinx.com>
    Cc: Ross Burton <ross.burton at intel.com>
    Cc: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
 meta/recipes-core/glib-2.0/glib.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index ce15cce..8434b7d 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -74,6 +74,8 @@ FILES_${PN}-codegen = "${datadir}/glib-2.0/codegen/*.py \
 FILES_${PN}-utils = "${bindir}/*"
 RRECOMMENDS_${PN} += "shared-mime-info"
+# When cross compiling for Windows we don't want to include this
+RRECOMMENDS_${PN}_remove_mingw32 = "shared-mime-info"
 ARM_INSTRUCTION_SET_armv4 = "arm"
 ARM_INSTRUCTION_SET_armv5 = "arm"

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list