summaryrefslogtreecommitdiff
path: root/ext/Encode/Makefile.PL
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2002-04-05 22:26:09 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2002-04-06 18:59:53 +0000
commit46fc212f8fc7314e19da7be073d918c01761bfbf (patch)
tree3c82277c60e056a14438102bf06acf8faf2629df /ext/Encode/Makefile.PL
parent2f41957b6be2495812a293a55e64b2348f9b47f9 (diff)
downloadperl-46fc212f8fc7314e19da7be073d918c01761bfbf.tar.gz
Encode tweaks for VMS
Message-ID: <20020406082609.GA28758@blackrider> p4raw-id: //depot/perl@15771
Diffstat (limited to 'ext/Encode/Makefile.PL')
-rw-r--r--ext/Encode/Makefile.PL6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/Encode/Makefile.PL b/ext/Encode/Makefile.PL
index 912f14d328..cd20547183 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: $!";