Forgot from #16628.
Jarkko Hietaniemi [Fri, 17 May 2002 12:14:20 +0000 (12:14 +0000)]
p4raw-id: //depot/perl@16652

ext/Encode/Makefile.PL

index cd20547..c442095 100644 (file)
@@ -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};