diff options
Diffstat (limited to 'ext/Encode/Byte/Makefile.PL')
-rw-r--r-- | ext/Encode/Byte/Makefile.PL | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/Encode/Byte/Makefile.PL b/ext/Encode/Byte/Makefile.PL index 5f67d8bd6c..3fe7345ead 100644 --- a/ext/Encode/Byte/Makefile.PL +++ b/ext/Encode/Byte/Makefile.PL @@ -172,6 +172,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}; |