]> code.ossystems Code Review - openembedded-core.git/commit
perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha
authorKhem Raj <raj.khem@gmail.com>
Fri, 18 Mar 2011 05:40:15 +0000 (22:40 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Mar 2011 12:21:16 +0000 (12:21 +0000)
commit8ba700a4c593fd52bd01b6272b4c8285a71964f7
tree44d6a25cbec8cd3bc32d8df87e54f6529c1572ad
parent44359c953a6205a5028483e22b81e9d1691bfd44
perl-native_5.12.2.bb: Fix compliation on ubuntu 11.04-alpha

Ubuntu has moved eglibc to /usr/lib/${arch}-linux-gnu and
/lib/${arch}-linux-gnu so we need that to be added to glibpth in
Configure.

Currently we set LD=ld in environment for recipes inheriting native
class. This overrides the LD settings in the Makefiles of perl and
it tries to link by calling ld which does not work since its using
-l<x> on commandline and ubuntu linker seems not to look into
the new location for these libraries. Its better to use gcc for linking
here anyway

[With tweak from Tom Rini to use CCLD, not LD]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-devtools/perl/files/Configure-multilib.patch
meta/recipes-devtools/perl/perl-native_5.12.2.bb