]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:47 +0000 (22:11 +0000)
commit4489ef1f6d9ee2ebb8bcf65ebebaf7646a9c9fcf
treeaffca514d17977742ce0c01d3978711b29ccc8d9
parentcf3402eb82aaa8aa4f9886003cbc0ce82637c3b2
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.

(From OE-Core rev: 0a009dbfff32566341b2888530423f90f1b3d945)

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