summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2008-11-10 21:24:04 +0000
committerutx@penguin.cz <utx@penguin.cz>2008-11-11 13:04:23 +0000
commit76e3e6e123c6b2a64905a32e5181e647107e562d (patch)
treedf7eaeae78c8aa3f349fbc8b1b6e5eaec7046ae1 /classes
parente359350395120b910cd281157e678f8416d68416 (diff)
perl and cpan.bbclass: Never reference to host instance of perl:
* install MakeMaker files separately for native and target system * PERL_INC, PERL_LIB and PERL_ARCHLIB changes through environment * for more see http://lists.linuxtogo.org/pipermail/openembedded-devel/2008-November/006815.html
Diffstat (limited to 'classes')
-rw-r--r--classes/cpan.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
index 3ff3f3093d..7b3faa2561 100644
--- a/classes/cpan.bbclass
+++ b/classes/cpan.bbclass
@@ -10,7 +10,8 @@ export PERLCONFIGTARGET = "${@is_target(d)}"
# Env var which tells perl where the perl include files are
export PERL_INC = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}/CORE"
-export PERL_ARCHLIB = "${STAGING_LIBDIR_NATIVE}/perl/${@get_perl_version(d)}"
+export PERL_LIB = "${STAGING_DATADIR}/perl/${@get_perl_version(d)}"
+export PERL_ARCHLIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}"
cpan_do_configure () {
yes '' | perl Makefile.PL ${EXTRA_CPANFLAGS}