summaryrefslogtreecommitdiff
path: root/classes/cpan_build.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/cpan_build.bbclass')
-rw-r--r--classes/cpan_build.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/cpan_build.bbclass b/classes/cpan_build.bbclass
index 63e716c099..c3804ff4cc 100644
--- a/classes/cpan_build.bbclass
+++ b/classes/cpan_build.bbclass
@@ -25,7 +25,7 @@ DEPENDS_prepend = "${@cpan_build_dep_prepend(d)}"
cpan_build_do_configure () {
if [ ${@is_target(d)} == "yes" ]; then
# build for target
- . ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh
+ . ${STAGING_DIR_TARGET}/perl/config.sh
if [ "${IS_NEW_PERL}" = "yes" ]; then
perl Build.PL --installdirs vendor \
--destdir ${D} \