From: Andy Dougherty Date: Thu, 18 Oct 2001 12:33:59 +0000 (-0400) Subject: OpenBSD hints for ithreads X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=938db3fad98564dfc0759b508b5b58c33f0fa4c6;p=p5sagit%2Fp5-mst-13.2.git OpenBSD hints for ithreads Message-ID: p4raw-id: //depot/perl@12498 --- diff --git a/hints/openbsd.sh b/hints/openbsd.sh index 8e7c4e5..3b73578 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