diff options
Diffstat (limited to 'hints')
-rw-r--r-- | hints/aix.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index 10e7603f78..25e2048931 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -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 |