]> code.ossystems Code Review - openembedded-core.git/commit
gobject-introspection: Override GIO_MODULE_DIR when scanning
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Mar 2016 16:38:54 +0000 (16:38 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Mar 2016 22:11:17 +0000 (22:11 +0000)
commitae3c9052e3b1f19c1ceadc5aeb93d4828e1c7a61
tree23de59a1539b0b40473dc8c220173396f66c8057
parentc54c5fc63c05d416f3733a742fc94f7a169adc8b
gobject-introspection: Override GIO_MODULE_DIR when scanning

This is to stop GLib linking to GConf and other modules (e.g gnutls).

If for example 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 runtime issues since dependencies
may be missing of change since they're not in the dependency chain.

Use an invalid modules directory so we avoid loading any modules or the
libraries they link against which the system may be in the process of rebuilding.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb