summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorLeon Timmermans <fawaka@gmail.com>2021-02-07 00:18:32 +0100
committerLeon Timmermans <fawaka@gmail.com>2022-06-14 19:41:17 +0200
commit1ecb5180fc3382074c309f589c602ea082d9b2fd (patch)
tree235d8813fb2fe1d72642771e14ecb5f1ceb5685d /hints
parent34e7352bb23c64795967cb3142a26807f11ea70b (diff)
downloadperl-1ecb5180fc3382074c309f589c602ea082d9b2fd.tar.gz
Use cygwin's own hints/cygwin.sh
Diffstat (limited to 'hints')
-rw-r--r--hints/cygwin.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/cygwin.sh b/hints/cygwin.sh
index 9988b3eb48..1f35befe8f 100644
--- a/hints/cygwin.sh
+++ b/hints/cygwin.sh
@@ -25,12 +25,21 @@ libswanted=`echo " $libswanted " | sed -e 's/ c / /g'`
libswanted=`echo " $libswanted " | sed -e 's/ m / /g'`
# - eliminate -lutil, symbols are all in libcygwin.a
libswanted=`echo " $libswanted " | sed -e 's/ util / /g'`
+test -z "$ignore_versioned_solibs" && ignore_versioned_solibs='y'
+test -z "$usenm" && usenm='no'
+test -z "$libc" && libc='/usr/lib/libcygwin.a'
+test -z "$loclibpth" && loclibpth=' '
+test -z "$glibpth" && glibpth=' '
+test -z "$plibpth" && plibpth=' '
+test -z "$libpth" && libpth=' '
+PATH='.:/usr/bin/'
# - add libgdbm_compat $libswanted
libswanted="$libswanted gdbm_compat"
test -z "$optimize" && optimize='-O3'
man3ext='3pm'
test -z "$use64bitint" && use64bitint='define'
test -z "$useithreads" && useithreads='define'
+test -z "$usemymalloc" && usemymalloc='undef'
ccflags="$ccflags -U__STRICT_ANSI__ -D_GNU_SOURCE"
# - otherwise i686-cygwin
archname='cygwin'