This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update podlators to CPAN version 4.10
[perl5.git] / hints / interix.sh
index a53d29d..acbf9c7 100644 (file)
@@ -14,6 +14,16 @@ 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.