X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2FEncode%2FMakefile.PL;h=cd205471838466d2f2776c903f08bf8110b4f6cd;hb=80a5d8e74b5512d4ab704d0e83466ae41247ce55;hp=912f14d328d55d900d27fbe8dd2c2dd2404775ff;hpb=004283b80f6094bb85aba6f48a74e3c5c34ea24f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/Encode/Makefile.PL b/ext/Encode/Makefile.PL index 912f14d..cd20547 100644 --- a/ext/Encode/Makefile.PL +++ b/ext/Encode/Makefile.PL @@ -108,9 +108,9 @@ sub postamble $continuator = ''; } } - my $plib = $ENV{PERL_CORE} ? '-I$(PERL_LIB)' : ''; - my $ucopts = ($^O eq 'VMS') ? '-"Q" -"O"' : '-Q -O'; - $str .= + my $plib = $self->{PERL_CORE} ? '"-I$(PERL_LIB)"' : ''; + my $ucopts = '-"Q" -"O"'; + $str .= qq{\n\t\$(PERL) $plib $enc2xs $ucopts -o \$\@ -f $table.fnm\n\n}; open (FILELIST, ">$table.fnm") || die "Could not open $table.fnm: $!";