[OE-core] [PATCH 13/30] glib-2.0/glib.inc: Disable libmount support for mingw32 targets

Nathan Rossi nathan at nathanrossi.com
Mon Jan 16 14:15:10 UTC 2017


MinGW/Windows does not have support for libmount, so disable it when
targeting mingw32.

Signed-off-by: Nathan Rossi <nathan at nathanrossi.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 cb6aca702f..0f8535b1b3 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -31,6 +31,8 @@ inherit autotools gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even
 S = "${WORKDIR}/glib-${PV}"
 
 PACKAGECONFIG ??= "system-pcre libmount"
+PACKAGECONFIG_remove_mingw32 = "libmount"
+
 # To use the system pcre it must be configured with --enable-unicode-properties
 PACKAGECONFIG[system-pcre] = "--with-pcre=system,--with-pcre=internal,libpcre"
 PACKAGECONFIG[libmount] = "--enable-libmount,--disable-libmount,util-linux"
-- 
2.11.0




More information about the Openembedded-core mailing list