From: H.Merijn Brand Date: Fri, 27 Feb 2004 15:25:27 +0000 (+0000) Subject: When threads are active we need -lpthread, but previous `fix' of X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=15173bafc9a5b667aebe0799fa96768116798dec;p=p5sagit%2Fp5-mst-13.2.git When threads are active we need -lpthread, but previous `fix' of now linked libraries invalidated the regex for sed (AIX 5 has no seperate libc.a and libc_r.a the latter links to the first) p4raw-id: //depot/perl@22400 --- diff --git a/hints/aix.sh b/hints/aix.sh index da61d31..acf8222 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -244,14 +244,13 @@ EOM esac # Insert pthreads to libswanted, before any libc or libC. - set `echo X "$libswanted "| sed -e 's/ \([cC]_r\) / pthreads \1 /'` + set `echo X "$libswanted "| sed -e 's/ \([cC]\) / pthreads \1 /'` shift libswanted="$*" # Insert pthreads to lddlflags, before any libc or libC. - set `echo X "$lddlflags " | sed -e 's/ \(-l[cC]_r\) / -lpthreads \1 /'` + set `echo X "$lddlflags " | sed -e 's/ \(-l[cC]\) / -lpthreads \1 /'` shift lddlflags="$*" - ;; esac EOCBU