From: Yitzchak Scott-Thoennes Date: Mon, 24 Nov 2003 08:11:36 +0000 (-0800) Subject: remove hardcoded version number from cygwin/perlld.in X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dfc05e5b69279e317155520cec7e590d9c42a6bc;p=p5sagit%2Fp5-mst-13.2.git remove hardcoded version number from cygwin/perlld.in Message-ID: <20031124161136.GC2656@efn.org> p4raw-id: //depot/perl@21783 --- diff --git a/cygwin/Makefile.SHs b/cygwin/Makefile.SHs index ffe4815..dd75ccf 100644 --- a/cygwin/Makefile.SHs +++ b/cygwin/Makefile.SHs @@ -53,8 +53,9 @@ $spitshell >>Makefile <perlld !GROK!THIS! diff --git a/cygwin/perlld.in b/cygwin/perlld.in index 773bb66..0e30c39 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 {