summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2004-02-27 15:25:27 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2004-02-27 15:25:27 +0000
commit15173bafc9a5b667aebe0799fa96768116798dec (patch)
tree7a6638d86b0dbbbc07d65743041cd10b431bb3da /hints
parentb5a930ec3bf87d0d126b3ddd1f5cc0587aae7f49 (diff)
downloadperl-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')
-rw-r--r--hints/aix.sh5
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