maintperl & bleadperl for Cygwin: include libgdbm_compat & libcygipc in searchlist
Gerrit P. Haase [Fri, 8 Aug 2003 13:44:51 +0000 (15:44 +0200)]
From: "Gerrit P. Haase" <gp@familiehaase.de>
Message-ID: <1621817486657.20030808134451@familiehaase.de>

p4raw-id: //depot/perl@20563

ext/NDBM_File/hints/cygwin.pl
ext/ODBM_File/hints/cygwin.pl
hints/cygwin.sh

index 0a4b762..3b8eea0 100644 (file)
@@ -1,2 +1,2 @@
 # uses GDBM ndbm compatibility feature
-$self->{LIBS} = ['-lgdbm'];
+$self->{LIBS} = ['-lgdbm -lgdbm_compat'];
index a0d33c8..5762d44 100644 (file)
@@ -1,2 +1,2 @@
 # uses GDBM dbm compatibility feature
-$self->{LIBS} = ['-lgdbm'];
+$self->{LIBS} = ['-lgdbm -lgdbm_compat'];
index e88cab7..32d0326 100644 (file)
@@ -23,6 +23,8 @@ so='dll'
 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