projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f70c9
)
OpenBSD hints for ithreads
author
Andy Dougherty
<doughera@lafayette.edu>
Thu, 18 Oct 2001 12:33:59 +0000
(08:33 -0400)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 19 Oct 2001 00:14:50 +0000
(
00:14
+0000)
Message-ID: <Pine.SOL.4.10.
10110181232060
.15040-100000@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@12498
hints/openbsd.sh
patch
|
blob
|
history
diff --git
a/hints/openbsd.sh
b/hints/openbsd.sh
index
8e7c4e5
..
3b73578
100644
(file)
--- 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