From: Gerrit P. Haase Date: Fri, 8 Aug 2003 13:44:51 +0000 (+0200) Subject: maintperl & bleadperl for Cygwin: include libgdbm_compat & libcygipc in searchlist X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0016644b4ef8e92272036e52ec534c50ed8924c6;p=p5sagit%2Fp5-mst-13.2.git maintperl & bleadperl for Cygwin: include libgdbm_compat & libcygipc in searchlist From: "Gerrit P. Haase" Message-ID: <1621817486657.20030808134451@familiehaase.de> p4raw-id: //depot/perl@20563 --- diff --git a/ext/NDBM_File/hints/cygwin.pl b/ext/NDBM_File/hints/cygwin.pl index 0a4b762..3b8eea0 100644 --- a/ext/NDBM_File/hints/cygwin.pl +++ b/ext/NDBM_File/hints/cygwin.pl @@ -1,2 +1,2 @@ # uses GDBM ndbm compatibility feature -$self->{LIBS} = ['-lgdbm']; +$self->{LIBS} = ['-lgdbm -lgdbm_compat']; diff --git a/ext/ODBM_File/hints/cygwin.pl b/ext/ODBM_File/hints/cygwin.pl index a0d33c8..5762d44 100644 --- a/ext/ODBM_File/hints/cygwin.pl +++ b/ext/ODBM_File/hints/cygwin.pl @@ -1,2 +1,2 @@ # uses GDBM dbm compatibility feature -$self->{LIBS} = ['-lgdbm']; +$self->{LIBS} = ['-lgdbm -lgdbm_compat']; diff --git a/hints/cygwin.sh b/hints/cygwin.sh index e88cab7..32d0326 100644 --- a/hints/cygwin.sh +++ b/hints/cygwin.sh @@ -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