X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=utils%2Fperlcc.PL;h=361069edf25e4513ae1c54f2d300052634e6c2b8;hb=abec23e71b5d54dc73752d78864a1da13b1510e0;hp=313a972d881956a2bbff4d13ac21493d6e2521da;hpb=1df3498620ecc1df99a2455e631a135f1710416f;p=p5sagit%2Fp5-mst-13.2.git diff --git a/utils/perlcc.PL b/utils/perlcc.PL index 313a972..361069e 100644 --- a/utils/perlcc.PL +++ b/utils/perlcc.PL @@ -42,6 +42,7 @@ print OUT <<'!NO!SUBS!'; # Version 2.01, Tom Christiansen, Thu Mar 30 08:25:14 MST 2000 # Version 2.02, Simon Cozens, Sun Apr 16 01:53:36 JST 2000 # Version 2.03, Edward Peschko, Mon Feb 26 12:04:17 PST 2001 +# Version 2.04, Enache Adrian,Fri, 18 Jul 2003 23:15:37 +0300 use strict; use warnings; @@ -52,7 +53,7 @@ use Config; use Fcntl qw(:DEFAULT :flock); use File::Temp qw(tempfile); use Cwd; -our $VERSION = 2.03; +our $VERSION = 2.04; $| = 1; $SIG{INT} = sub { exit(); }; # exit gracefully and clean up after ourselves. @@ -327,7 +328,7 @@ sub cc_harness_msvc { $link .= " -libpath:".$_ for split /\s+/, opt(L); my @mods = split /-?u /, $stash; $link .= " ".ExtUtils::Embed::ldopts("-std", \@mods); - $link .= " perl57.lib kernel32.lib msvcrt.lib"; + $link .= " perl5$Config{PERL_VERSION}.lib kernel32.lib msvcrt.lib"; vprint 3, "running $Config{cc} $compile"; system("$Config{cc} $compile"); vprint 3, "running $Config{ld} $link"; @@ -528,7 +529,7 @@ sub _die { sub _usage_and_die { _die(<