diff options
-rw-r--r-- | ext/Encode/Makefile.PL | 1 |
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}; |