]> code.ossystems Code Review - openembedded-core.git/commit
cpan.bbclass: add a new parameter EXTRA_PERLFLAGS
authorNitin A Kamble <nitin.a.kamble@intel.com>
Wed, 5 Jan 2011 18:03:27 +0000 (10:03 -0800)
committerSaul Wold <sgw@linux.intel.com>
Wed, 12 Jan 2011 08:55:48 +0000 (00:55 -0800)
commitd52b9ff86dbdfce8d5dc3f2e4544b9f44bdeeea0
tree9ed97e2d0acf9cb4fae54d73d72f31c4d98e3ab7
parent83796edd29561f02b6f7b036351711f8def77a4f
cpan.bbclass: add a new parameter EXTRA_PERLFLAGS

We use host perl while building target perl modules. When some of the
prebuilt perl modules such as scalar::util are used in the build process
directly or indirectly, perl needs to load the arch specific .so library
file. If perl can not find the .so library files, then perl
tries to use the target pm files which ends up in circular perl module
depedancy causing build time perl invocation to fail.

Adding this new parameter viz EXTRA_PERLFLAGS to cpan.bbclass allows perl
module recipes to specify the location of such host .so files for hostperl,
so that build time invocation of perl does not fail.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
meta/classes/cpan.bbclass