[oe-commits] [openembedded-core] 01/11: gobject-introspection: stop GLib linking to GConf
git at git.openembedded.org
git at git.openembedded.org
Fri Mar 11 17:38:13 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit f1f69cb282cc7043b3eaf40829b5097f76d8e9f0
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Fri Mar 11 17:23:15 2016 +0000
gobject-introspection: stop GLib linking to GConf
If gconf is installed in the sysroot then GLib will use it by default for the
GSettings backend. This will pull a lot more libraries into the scanner
processes and expands the potential for bad linking through the imperfect qemu
user-mode emulation.
Set GSETTINGS_BACKEND=memory to force it to use the stub backend. It's possible
that other fixes (such as glib relocation) have mitigated the damage that this
causes but right now it's better to be safe than sorry.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb
index 684d7cf..384204c 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb
@@ -54,6 +54,7 @@ do_configure_prepend_class-target() {
cat > ${B}/g-ir-scanner-qemuwrapper << EOF
#!/bin/sh
export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules
+export GSETTINGS_BACKEND=memory
$qemu_binary "\$@"
if [ \$? -ne 0 ]; then
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list