summaryrefslogtreecommitdiff
path: root/ext/Encode/TW/Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Encode/TW/Makefile.PL')
-rw-r--r--ext/Encode/TW/Makefile.PL1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/Encode/TW/Makefile.PL b/ext/Encode/TW/Makefile.PL
index 8f12a81aee..65cc22486e 100644
--- a/ext/Encode/TW/Makefile.PL
+++ b/ext/Encode/TW/Makefile.PL
@@ -145,6 +145,7 @@ sub postamble
}
}
my $plib = $self->{PERL_CORE} ? '"-I$(PERL_LIB)"' : '';
+ $plib .= " -MCross=$::Cross::platform" if defined $::Cross::platform;
my $ucopts = '-"Q"';
$str .=
qq{\n\t\$(PERL) $plib $enc2xs $ucopts -o \$\@ -f $table.fnm\n\n};