[OE-core] [PATCH 4/7] glib-2.0-native: Break circular dependency on shared-mime-utils

Richard Purdie richard.purdie at linuxfoundation.org
Sat Feb 16 21:46:35 UTC 2019


If we fix native RDEPENDS handling, it exposes a problem where there
is a circular dependency between shared-mime-utils and glib-2.0-native.

Break this dependency in the -native case.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/glib-2.0/glib.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index c9093cee866..7e2847d4b22 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -80,6 +80,7 @@ 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"
+RRECOMMENDS_${PN}_class-native = ""
 
 ARM_INSTRUCTION_SET_armv4 = "arm"
 ARM_INSTRUCTION_SET_armv5 = "arm"
-- 
2.20.1



More information about the Openembedded-core mailing list