From: Andy Dougherty Date: Thu, 18 Oct 2001 12:33:59 +0000 (-0400) Subject: OpenBSD hints for ithreads X-Git-Tag: accepted/trunk/20130322.191538~29865 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=938db3fad98564dfc0759b508b5b58c33f0fa4c6;p=platform%2Fupstream%2Fperl.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