diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-09-04 16:01:26 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-09-04 16:01:26 +0000 |
commit | 784a4a22985b41b1cfd2d1268406269bdfabb591 (patch) | |
tree | af74dbef4ba2da5a698f579b0a7d0be8583864a9 /utils | |
parent | 8e9a9eaeaf316dac892322510e042d3aabad4750 (diff) | |
download | perl-784a4a22985b41b1cfd2d1268406269bdfabb591.tar.gz |
Tiny perlcc tweaks.
p4raw-id: //depot/perl@21029
Diffstat (limited to 'utils')
-rw-r--r-- | utils/perlcc.PL | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/perlcc.PL b/utils/perlcc.PL index 339c423f6a..361069edf2 100644 --- a/utils/perlcc.PL +++ b/utils/perlcc.PL @@ -328,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"; @@ -529,7 +529,7 @@ sub _die { sub _usage_and_die { _die(<<EOU); $0: Usage: -$0 [-o executable] [-r] [-O|-B|-c|-S] [-log log] [source[.pl] | -e oneliner] +$0 [-o executable] [-r] [-O|-B|-c|-S] [-I /foo] [-L /foo] [-log log] [source[.pl] | -e oneliner] EOU } |