Koen Kooi wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Perl (among others) uses the 'LIBC' variable to point its linker to
libc.so.6, which fails due to OE redefing LIBC.

Any objections to renaming LIBC to TARGET_LIBC in OE?

bitbake.conf: Unexport LIBC from the environment

As spoted by Koen at least perl makes use of LIBC coming from the environment to be meaningful, so don't export it as it doesn't match our meaning.

Signed-off-by: Tom Rini <tom_r...@mentor.com>

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index d523519..ddb6a79 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -799,3 +799,6 @@ TARGET_ARCH[unexport] = "1"
 # (breaks sysvinit at least)
 DISTRO[unexport] = "1"

+# Make sure that LIBC isn't exported
+# (breaks perl at least)
+LIBC[unexport] = "1"

--
Tom Rini
Mentor Graphics Corporation

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to