From: Reini Urban Date: Sat, 8 Mar 2008 20:55:36 +0000 (+0100) Subject: Re: Perl @ http://www.ccl4.org/~nick/P/perl-33444.tar.bz2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7e73a9801b84ea9d4c4040e65a168d6571cee339;p=p5sagit%2Fp5-mst-13.2.git Re: Perl @ www.ccl4.org/~nick/P/perl-33444.tar.bz2 Message-ID: <47D2EF38.10503@x-ray.at> * CYG04 At least on cygwin strip the last number from the dll. This is in the cygwin.com build since years. p4raw-id: //depot/perl@33481 --- diff --git a/cygwin/Makefile.SHs b/cygwin/Makefile.SHs index 4673d8a..b360b01 100644 --- a/cygwin/Makefile.SHs +++ b/cygwin/Makefile.SHs @@ -34,7 +34,15 @@ cygwin.c: cygwin/cygwin.c libperl=`echo $libperl|sed -e s,\\\..*,,` linklibperl=-l`echo $libperl|sed -e s,^lib,,` vers=`echo $version|tr '.' '_'` -dllname=`echo $libperl|sed -e s,^lib,cyg,`$vers +dllname=`echo $libperl|sed -e s,^lib,cyg,``echo $vers|sed -e s,_[0-9]$,,` +# append "d" suffix to -DDEBUGGING build: cygperl5_10d.dll +case $config_args in + *DEBUGGING*) + dllname="${dllname}"d + ;; +esac +# added -mms-bitfields to be able to link to MSVC win32 bitfields libs +# (4 byte instead of 2 byte alignment) $spitshell >>Makefile <