]> code.ossystems Code Review - openembedded-core.git/commit
cpan_build: Fix cmaker Build.PL module builds
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 19 Jan 2013 23:48:13 +0000 (23:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jan 2013 12:35:46 +0000 (12:35 +0000)
commit7fac8bffcd250aec90c0b675aeb2bbe7896d0ae1
tree6c7a1891769a8754a76a15a2d88ded50403b4eaa
parente43a72af9055b76eb2ad7e2e42e6a5f3c8854efa
cpan_build: Fix cmaker Build.PL module builds

Certain cpan Build.PL based modules were failing to build due to
the host's config information being used instead of the targets.

This patch sets the appropriate variables to ensure the modules
get the correct configuration from the target config_heavy.pl script.

It also ensures the linker is CCLD, not LD since the LDFLAGS contain
-Wl,XXX options and build failures result if LD is used.

libencode-detect-perl is a module which tests this class extensively.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cpan_build.bbclass