summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorFifer, Eric <EFifer@sanwaint.com>2000-08-15 18:00:49 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-15 16:33:19 +0000
commit5d1292657431672ec354f44dd6469904494402c4 (patch)
tree982649279ffbabf3ad2d3410ea7ccda932004d55 /hints
parent5318f4e72ea099968c73fd9ca776a55ce6d85136 (diff)
downloadperl-5d1292657431672ec354f44dd6469904494402c4.tar.gz
cygwin port
Message-ID: <779F20BCCE5AD31186A50008C75D9979171779@silldn_mail1.sanwaint.com> p4raw-id: //depot/perl@6638
Diffstat (limited to 'hints')
-rw-r--r--hints/cygwin.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/hints/cygwin.sh b/hints/cygwin.sh
index 1fbe5a670e..7be173557c 100644
--- a/hints/cygwin.sh
+++ b/hints/cygwin.sh
@@ -19,9 +19,11 @@ then
plibpth=`cd $plibpth && pwd`
fi
so='dll'
-# - eliminate -lc, implied by gcc
+# - eliminate -lc, implied by gcc and a symlink to libcygwin.a
libswanted=`echo " $libswanted " | sed -e 's/ c / /g'`
-libswanted="$libswanted cygipc cygwin kernel32"
+# - eliminate -lm, symlink to libcygwin.a
+libswanted=`echo " $libswanted " | sed -e 's/ m / /g'`
+libswanted="$libswanted cygipc"
test -z "$optimize" && optimize='-O2'
# - otherwise i686-cygwin
archname='cygwin'