This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #126593] make sure utf8_heavy.pl doesn't depend on itself
[perl5.git] / hints / interix.sh
index 74f5a52..acbf9c7 100644 (file)
@@ -12,7 +12,18 @@ ld='gcc'
 lddlflags="-shared $lddlflags"
 rpathflag='-Wl,-R'
 sharpbang='#!'
+usemymalloc='false'
 usenm='false'
+plibpth=''
+
+case "$plibpth" in
+'') plibpth=`LANG=C LC_ALL=C $cc -print-search-dirs | grep libraries |
+        cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'`
+    set X $plibpth # Collapse all entries on one line
+    shift
+    plibpth="$*"
+    ;;
+esac
 
 # This script UU/usethreads.cbu will get 'called-back' by Configure 
 # after it has prompted the user for whether to use threads.