summaryrefslogtreecommitdiff
path: root/cygwin/perlld.in
diff options
context:
space:
mode:
authorYitzchak Scott-Thoennes <sthoenna@efn.org>2003-11-24 00:11:36 -0800
committerH.Merijn Brand <h.m.brand@xs4all.nl>2003-11-24 21:24:46 +0000
commitdfc05e5b69279e317155520cec7e590d9c42a6bc (patch)
treeb04c7baecd6347ad7dcb7f6de737be43858fe70e /cygwin/perlld.in
parent0ed299501d408b6e22065c36966752a861574a3d (diff)
downloadperl-dfc05e5b69279e317155520cec7e590d9c42a6bc.tar.gz
remove hardcoded version number from cygwin/perlld.in
Message-ID: <20031124161136.GC2656@efn.org> p4raw-id: //depot/perl@21783
Diffstat (limited to 'cygwin/perlld.in')
-rw-r--r--cygwin/perlld.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/cygwin/perlld.in b/cygwin/perlld.in
index 773bb66e99..0e30c39905 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 = '@VERSION@';
+ $v_e_r_s =~ tr/./_/;
if ( $dllname =~ /libperl.*/) {
$dllname ="cygperl$v_e_r_s.dll";
} else {