my $name = 'EBCDIC';
my %tables = (
- ebcdic_t => ['cp1047.ucm','cp37.ucm','posix-bc.ucm'],
+ ebcdic_t =>
+ ['posix-bc.ucm',
+ qw(cp037.ucm cp1026.ucm cp1047.ucm cp500.ucm cp875.ucm),
+ ],
);
WriteMakefile(
$continuator = '';
}
}
- $str .= $^O eq 'VMS' # In VMS quote to preserve case
- ? qq{\n\t\$(PERL) $enc2xs -"Q" -o \$\@ -f $table.fnm\n\n}
- : qq{\n\t\$(PERL) $enc2xs -Q -o \$\@ -f $table.fnm\n\n};
+ 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: $!";
foreach my $file (@{$tables{$table}})