qr{\b ((?:lib)?) perl (\d\d\d) (s?) \b }x,
sub {$2, "$1perl$newx$newy$3" },
"$oldx$oldy",
- qr/makedef|win32|hints/, # makedef.pl, README.win32, win32/*, hints/*
+ qr/win32|hints/, # README.win32, win32/*, hints/*
],
# microperl locations should be bumped for major versions
# Start with platform specific headers:
if ($ARGS{PLATFORM} =~ /^win(?:32|ce)$/) {
- (my $dll = ($define{PERL_DLL} || "perl515")) =~ s/\.dll$//i;
+ my $dll = $define{PERL_DLL} ? $define{PERL_DLL} =~ s/\.dll$//ir
+ : "perl$Config{api_revision}$Config{api_version}";
print "LIBRARY $dll\n";
# The DESCRIPTION module definition file statement is not supported
# by VC7 onwards.
}
elsif ($ARGS{PLATFORM} eq 'netware') {
if ($ARGS{FILETYPE} eq 'def') {
- print "LIBRARY perl515\n";
+ print "LIBRARY perl$Config{api_revision}$Config{api_version}\n";
print "DESCRIPTION 'Perl interpreter for NetWare'\n";
print "EXPORTS\n";
}