diff options
author | H.Merijn Brand <h.m.brand@xs4all.nl> | 2004-02-27 15:25:27 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2004-02-27 15:25:27 +0000 |
commit | 15173bafc9a5b667aebe0799fa96768116798dec (patch) | |
tree | 7a6638d86b0dbbbc07d65743041cd10b431bb3da /hints/aix.sh | |
parent | b5a930ec3bf87d0d126b3ddd1f5cc0587aae7f49 (diff) | |
download | perl-15173bafc9a5b667aebe0799fa96768116798dec.tar.gz |
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
Diffstat (limited to 'hints/aix.sh')
-rw-r--r-- | hints/aix.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hints/aix.sh b/hints/aix.sh index da61d31564..acf8222c7d 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 |