:_75 - Update hints/aix.sh for c_r library
authorArt Green <Art_Green@mercmarine.com>
Thu, 16 Jul 1998 21:37:05 +0000 (16:37 -0500)
committerGurusamy Sarathy <gsar@cpan.org>
Sun, 19 Jul 1998 06:40:33 +0000 (06:40 +0000)
Message-ID: <86256644.000E61D4.00@FDLTest1.mercmarine.com>

p4raw-id: //depot/perl@1557

hints/aix.sh

index 10e7603..25e2048 100644 (file)
@@ -92,4 +92,11 @@ EOM
     # Add the POSIX threads library and the re-entrant libc.
 
     lddlflags=`echo $lddlflags | sed 's/ -lc$/ -lpthreads -lc_r -lc/'`
+
+    # Add the c_r library to the list of libraries wanted
+    # Make sure the c_r library is before the c library or
+    # make will fail.
+    set `echo X "$libswanted "| sed -e 's/ c / c_r c /'`
+    shift
+    libswanted="$*"
 fi