summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/cpan.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index 4fff5974c..3250528c7 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -9,7 +9,7 @@ EXTRA_CPANFLAGS ?= ""
export PERLCONFIGTARGET = "${@is_target(d)}"
# Env var which tells perl where the perl include files are
-export PERL_INC = "${STAGING_DIR}/${BUILD_SYS}/lib/perl/${@get_perl_version(d)}/CORE"
+export PERL_INC = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}/CORE"
cpan_do_configure () {
yes '' | perl Makefile.PL ${EXTRA_CPANFLAGS}