summaryrefslogtreecommitdiff
path: root/hints/openbsd.sh
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2001-10-18 08:33:59 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-19 00:14:50 +0000
commit938db3fad98564dfc0759b508b5b58c33f0fa4c6 (patch)
treeb7d941c42f341fe41d20d52424113983c1216430 /hints/openbsd.sh
parent72f70c998791c67541198e5d5f4af84d2c32364c (diff)
downloadperl-938db3fad98564dfc0759b508b5b58c33f0fa4c6.tar.gz
OpenBSD hints for ithreads
Message-ID: <Pine.SOL.4.10.10110181232060.15040-100000@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@12498
Diffstat (limited to 'hints/openbsd.sh')
-rw-r--r--hints/openbsd.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/hints/openbsd.sh b/hints/openbsd.sh
index 8e7c4e5ce1..3b73578a9d 100644
--- a/hints/openbsd.sh
+++ b/hints/openbsd.sh
@@ -88,7 +88,9 @@ $define|true|[yY]*)
# any openbsd version dependencies with pthreads?
ccflags="-pthread $ccflags"
ldflags="-pthread $ldflags"
+ # Add -lpthread. Also change from -lc to -lc_r
libswanted="$libswanted pthread"
+ libswanted=`echo " $libswanted "| sed -e 's/ c / c_r /' -e 's/^ //' -e 's/ $//'`
# This is strange.
usevfork="$undef"
esac