diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2001-10-18 08:33:59 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-19 00:14:50 +0000 |
commit | 938db3fad98564dfc0759b508b5b58c33f0fa4c6 (patch) | |
tree | b7d941c42f341fe41d20d52424113983c1216430 /hints/openbsd.sh | |
parent | 72f70c998791c67541198e5d5f4af84d2c32364c (diff) | |
download | perl-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.sh | 2 |
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 |