summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/cpan.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
index ca5303d97f..005e7cc0e9 100644
--- a/classes/cpan.bbclass
+++ b/classes/cpan.bbclass
@@ -10,6 +10,7 @@ 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)}"
cpan_do_configure () {
yes '' | perl Makefile.PL ${EXTRA_CPANFLAGS}