summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-05-17 12:14:20 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-17 12:14:20 +0000
commitb88803e823f645fd01dcf24d2878f5e842ce1092 (patch)
treee18e33392548d367eea27fdfd6f093899abd54c3 /ext
parent9c2919391b316ef8c625cc9c45c11a74f92a45b8 (diff)
downloadperl-b88803e823f645fd01dcf24d2878f5e842ce1092.tar.gz
Forgot from #16628.
p4raw-id: //depot/perl@16652
Diffstat (limited to 'ext')
-rw-r--r--ext/Encode/Makefile.PL1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/Encode/Makefile.PL b/ext/Encode/Makefile.PL
index cd20547183..c442095cee 100644
--- a/ext/Encode/Makefile.PL
+++ b/ext/Encode/Makefile.PL
@@ -109,6 +109,7 @@ sub postamble
}
}
my $plib = $self->{PERL_CORE} ? '"-I$(PERL_LIB)"' : '';
+ $plib .= " -MCross=$::Cross::platform" if defined $::Cross::platform;
my $ucopts = '-"Q" -"O"';
$str .=
qq{\n\t\$(PERL) $plib $enc2xs $ucopts -o \$\@ -f $table.fnm\n\n};