From: Jarkko Hietaniemi Date: Fri, 29 Jun 2001 14:31:53 +0000 (+0000) Subject: -lpthreads missing in AIX. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=db512b976bff562c49b71e4277c374ca33a1cb85;p=p5sagit%2Fp5-mst-13.2.git -lpthreads missing in AIX. p4raw-id: //depot/perl@11031 --- diff --git a/hints/aix.sh b/hints/aix.sh index baa6bba..1c2d7a2 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -257,11 +257,11 @@ EOM lddlflags="$*" # Insert pthreads to libswanted, before any libc or libC. - set `echo X "$libswanted "| sed -e 's/ \([cC]\) / pthreads \1 /'` + set `echo X "$libswanted "| sed -e 's/ \([cC]_r\) / pthreads \1 /'` shift libswanted="$*" # Insert pthreads to lddlflags, before any libc or libC. - set `echo X "$lddlflags " | sed -e 's/ \(-l[cC]\) / -lpthreads \1 /'` + set `echo X "$lddlflags " | sed -e 's/ \(-l[cC]_r\) / -lpthreads \1 /'` shift lddlflags="$*"