summaryrefslogtreecommitdiff
path: root/cygwin
diff options
context:
space:
mode:
authorSlaven Rezic <slaven@rezic.de>2003-03-17 01:42:43 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-17 04:45:40 +0000
commit1ba7855cf16acea00cbf0cf8bbc7fbe37b8ac919 (patch)
treeb3a10a4e8e8b7eca995b89d31217bda2e1632ff4 /cygwin
parent30b4f38607fd824e698ead42ae0a9819f52d0a51 (diff)
downloadperl-1ba7855cf16acea00cbf0cf8bbc7fbe37b8ac919.tar.gz
Integrate:
[ 19006] Subject: Re: [Patch] Maintperl versioning for Cygwin Message-ID: <87ptoqev4c.fsf@vran.herceg.de> p4raw-link: @19006 on //depot/maint-5.8/perl: 65f9e441d42a0992031a7b25f809df40333410c5 p4raw-id: //depot/perl@19007 p4raw-integrated: from //depot/maint-5.8/perl@19005 'merge in' cygwin/perlld.in (@19000..)
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/perlld.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/cygwin/perlld.in b/cygwin/perlld.in
index b33d0e2531..8055054328 100644
--- a/cygwin/perlld.in
+++ b/cygwin/perlld.in
@@ -46,7 +46,8 @@ if ($args !~ /\-o (\S+)/) {
$path =~ s,[/\\](\.[/\\])*,/,g;
}
if ($dllname =~ /\./) { $libname =$`; } else { $libname =$dllname; };
- my $v_e_r_s = '5_9_0';
+ my $v_e_r_s;
+ ($v_e_r_s = sprintf("%vd", $^V)) =~ tr/./_/; # v5.8.1 -> 5_8_1
if ( $dllname =~ /.*perl.*/) {
$dllname ="cygperl$v_e_r_s.dll";
} else {