]> code.ossystems Code Review - openembedded-core.git/commit
glib-2.0: relocate the GIO module directory for native builds
authorRoss Burton <ross.burton@intel.com>
Fri, 11 Mar 2016 15:35:55 +0000 (15:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Mar 2016 22:11:20 +0000 (22:11 +0000)
commit0a009dbfff32566341b2888530423f90f1b3d945
tree8415a0adf0751c8984746622603d04ae0dc8a0b7
parente59547e4154b772a36f4e58f1d454c0c38653c84
glib-2.0: relocate the GIO module directory for native builds

Glib hard-codes the install path in search path for GIO modules, which causes
problems when glib-2.0-native is restored from sstate with a different build
directory.

In the future we should relocate symbols directly using the same system that the
eSDK uses, but for now use dladdr() to look up where the library was loaded from
to build the search path.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch [new file with mode: 0644]
meta/recipes-core/glib-2.0/glib-2.0_2.46.2.bb