generic-poky/meta/recipes-core/glib-2.0/glib-2.0
Robert Yang 7d8038dfc6 glib-2.0: fix a host contamination issue
We will see the following warning by accident:

$ bitbake nativesdk-glib-2.0

WARNING: QA Issue: nativesdk-glib-2.0-dbg: found library in wrong location:
/opt/poky/0.5.5/sysroots/x86_64-pokysdk-linux/usr/share/gdb/auto-load/opt/
poky/0.5.5/sysroots/x86_64-pokysdk-linux/usr/lib/libglib-2.0.so.0.3600.4-gdb.py

There are two '/opt/poky/0.5.5/sysroots' in the path when the warning
comes, this is what we need since glib-2.0 has done this intentionally
in its configure and Makefile.

This is because the configure script uses the:
ABS_GLIB_RUNTIME_LIBDIR = "readlink -f $libdir/$with_runtime_libdir`"
to figure out the abs dir, so if
/opt/poky/0.5.5/sysroots/x86_64-pokysdk-linux/usr/lib/ exists , there
would be warning, otherwise no warning.

We can change the "readlink -f" to "readlink -m" to fix the host
contamination issue.

Another fix could be:
ABS_GLIB_RUNTIME_LIBDIR =""

But this is much more like a workaround.

[YOCTO #5099]

(From OE-Core rev: 3e660ec01cc62c57b379b151e43c7952e97a1c2b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-04 14:15:58 +01:00
..
Makefile-ptest.patch Upstream-Status: Correct Capitalization 2013-05-12 09:37:31 +01:00
add-march-i486-into-CFLAGS-automatically.patch glib-2.0: add -march=i486 into CFLAGS automatically when needed. 2013-07-10 09:42:03 +01:00
configure-libtool.patch glib-2.0: upgrade to 2.32.1 2012-05-07 16:42:45 +01:00
fix-conflicting-rand.patch glib-2.0: Fix ptest to build with uclibc. 2013-02-11 15:41:20 +00:00
glib-2.0-configure-readlink.patch glib-2.0: fix a host contamination issue 2013-09-04 14:15:58 +01:00
glib-2.0_fix_for_x32.patch glib-2.0: drop Makefile.in hunks from patch 2013-06-11 15:55:58 +01:00
glib-gettextize-dir.patch glib-2.0: upgrade to version 2.28.6 2011-04-28 10:44:30 +01:00
run-ptest Add ptest for glib. 2012-12-26 11:34:05 +00:00