From dfc05e5b69279e317155520cec7e590d9c42a6bc Mon Sep 17 00:00:00 2001 From: Yitzchak Scott-Thoennes Date: Mon, 24 Nov 2003 00:11:36 -0800 Subject: [PATCH] remove hardcoded version number from cygwin/perlld.in Message-ID: <20031124161136.GC2656@efn.org> p4raw-id: //depot/perl@21783 --- cygwin/Makefile.SHs | 5 +++-- cygwin/perlld.in | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) 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 { -- 2.7.4