diff options
author | Reini Urban <rurban@x-ray.at> | 2007-08-14 10:51:50 +0200 |
---|---|---|
committer | Abhijit Menon-Sen <ams@wiw.org> | 2007-08-14 06:58:22 +0000 |
commit | 4f3b19ea9f1065e1d9d263b4c07fca1ba8f29276 (patch) | |
tree | 186a52607cc07837a9a13b6d574441b8b28aef57 /hints | |
parent | efa159bc522e3471f3ab132c384ad0ce9d768b61 (diff) | |
download | perl-4f3b19ea9f1065e1d9d263b4c07fca1ba8f29276.tar.gz |
get rid of cygwin perlld and ld2
Message-Id: <46C15106.9080003@x-ray.at>
p4raw-id: //depot/perl@31710
Diffstat (limited to 'hints')
-rw-r--r-- | hints/cygwin.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hints/cygwin.sh b/hints/cygwin.sh index e0cdc05858..a61ef7b3bc 100644 --- a/hints/cygwin.sh +++ b/hints/cygwin.sh @@ -38,7 +38,8 @@ archname='cygwin' # dynamic loading # - otherwise -fpic cccdlflags=' ' -ld='ld2' +lddlflags=' --shared' +ld='g++' case "$osvers" in @@ -57,9 +58,10 @@ static_ext="$static_ext Win32CORE" d_eofnblk='define' # suppress auto-import warnings -ldflags="$ldflags -Wl,--enable-auto-import" +ldflags="$ldflags -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base -Wl,--enable-auto-import" +lddlflags="$lddlflags $ldflags" # strip exe's and dll's #ldflags="$ldflags -s" -#ccdlflags="$ccdlflags -s" +ccdlflags="$ccdlflags -s" #lddlflags="$lddlflags -s" |