summaryrefslogtreecommitdiff
path: root/packages/perl
diff options
context:
space:
mode:
Diffstat (limited to 'packages/perl')
-rw-r--r--packages/perl/perl.inc4
-rw-r--r--packages/perl/perl_5.8.7.bb2
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/perl/perl.inc b/packages/perl/perl.inc
index 8c7064b3ce..4f42d78ded 100644
--- a/packages/perl/perl.inc
+++ b/packages/perl/perl.inc
@@ -14,10 +14,10 @@ SRC_URI = "ftp://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
file://config.sh-mipsel-linux \
file://config.sh-i686-linux"
-HOSTPERL="${STAGING_BINDIR}/perl${PV}"
+HOSTPERL="${STAGING_BINDIR_NATIVE}/perl${PV}"
do_configure() {
- ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl
+ ln -sf ${HOSTPERL} ${STAGING_BINDIR_NATIVE}/hostperl
cp ${HOSTPERL} hostperl
cd Cross
rm -f Makefile.SH.patch
diff --git a/packages/perl/perl_5.8.7.bb b/packages/perl/perl_5.8.7.bb
index 35384e03f4..7e1ef2edf2 100644
--- a/packages/perl/perl_5.8.7.bb
+++ b/packages/perl/perl_5.8.7.bb
@@ -26,7 +26,7 @@ PARALLEL_MAKE = ""
PR = "r21"
do_configure() {
- ln -sf ${HOSTPERL} ${STAGING_BINDIR}/hostperl
+ ln -sf ${HOSTPERL} ${STAGING_BINDIR_NATIVE}/hostperl
cp ${HOSTPERL} hostperl
cd Cross
rm -f Makefile.SH.patch