Change 20563 by [EMAIL PROTECTED] on 2003/08/08 13:09:00
Subject: [PATCH] maintperl & bleadperl for Cygwin: include libgdbm_compat &
libcygipc in searchlist
From: "Gerrit P. Haase" <[EMAIL PROTECTED]>
Date: Fri, 8 Aug 2003 13:44:51 +0200
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/ext/NDBM_File/hints/cygwin.pl#2 edit
... //depot/perl/ext/ODBM_File/hints/cygwin.pl#2 edit
... //depot/perl/hints/cygwin.sh#16 edit
Differences ...
==== //depot/perl/ext/NDBM_File/hints/cygwin.pl#2 (text) ====
Index: perl/ext/NDBM_File/hints/cygwin.pl
--- perl/ext/NDBM_File/hints/cygwin.pl#1~4769~ Fri Jan 7 10:23:16 2000
+++ perl/ext/NDBM_File/hints/cygwin.pl Fri Aug 8 06:09:00 2003
@@ -1,2 +1,2 @@
# uses GDBM ndbm compatibility feature
-$self->{LIBS} = ['-lgdbm'];
+$self->{LIBS} = ['-lgdbm -lgdbm_compat'];
==== //depot/perl/ext/ODBM_File/hints/cygwin.pl#2 (text) ====
Index: perl/ext/ODBM_File/hints/cygwin.pl
--- perl/ext/ODBM_File/hints/cygwin.pl#1~4769~ Fri Jan 7 10:23:16 2000
+++ perl/ext/ODBM_File/hints/cygwin.pl Fri Aug 8 06:09:00 2003
@@ -1,2 +1,2 @@
# uses GDBM dbm compatibility feature
-$self->{LIBS} = ['-lgdbm'];
+$self->{LIBS} = ['-lgdbm -lgdbm_compat'];
==== //depot/perl/hints/cygwin.sh#16 (text) ====
Index: perl/hints/cygwin.sh
--- perl/hints/cygwin.sh#15~16291~ Tue Apr 30 19:04:22 2002
+++ perl/hints/cygwin.sh Fri Aug 8 06:09:00 2003
@@ -23,6 +23,8 @@
libswanted=`echo " $libswanted " | sed -e 's/ c / /g'`
# - eliminate -lm, symlink to libcygwin.a
libswanted=`echo " $libswanted " | sed -e 's/ m / /g'`
+# - add libgdbm_compat & libcygipc to $libswanted
+libswanted="$libswanted gdbm_compat cygipc"
test -z "$optimize" && optimize='-O2'
ccflags="$ccflags -DPERL_USE_SAFE_PUTENV"
# - otherwise i686-cygwin
End of Patch.