diff options
Diffstat (limited to 'classes/cpan.bbclass')
-rw-r--r-- | classes/cpan.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass index 3b1a2b72ca..3250528c7a 100644 --- a/classes/cpan.bbclass +++ b/classes/cpan.bbclass @@ -8,6 +8,9 @@ EXTRA_CPANFLAGS ?= "" # Env var which tells perl if it should use host (no) or target (yes) settings 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" + cpan_do_configure () { yes '' | perl Makefile.PL ${EXTRA_CPANFLAGS} if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then |