summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@xilinx.com>2017-09-25 15:56:55 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-10-06 12:03:31 +0100
commitcc9d855660db27e82d1b37ab5d1820c556827635 (patch)
tree1b7e601fdf3e97ea6fb3974b2fa4790140abbedb /meta/recipes-core
parentf68fca4776a38a1bdf7ed37ce87cddbb21ff74f8 (diff)
downloadopenembedded-core-cc9d855660db27e82d1b37ab5d1820c556827635.tar.gz
openembedded-core-cc9d855660db27e82d1b37ab5d1820c556827635.tar.bz2
openembedded-core-cc9d855660db27e82d1b37ab5d1820c556827635.zip
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@xilinx.com> Cc: Ross Burton <ross.burton@intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index ce15ccefc3..8434b7dae3 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"