From: Abe Timmerman Date: Sun, 2 Feb 2003 18:27:57 +0000 (+0100) Subject: Re: [perl #20606] [PATCH} openbsd hints X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1ac0c030938fdadc1de87ae3d73ac10fe6533072;p=p5sagit%2Fp5-mst-13.2.git Re: [perl #20606] [PATCH} openbsd hints Message-Id: <200302021827.57240.abe@ztreet.demon.nl> p4raw-id: //depot/perl@18647 --- diff --git a/hints/openbsd.sh b/hints/openbsd.sh index cc94617..54626fb 100644 --- a/hints/openbsd.sh +++ b/hints/openbsd.sh @@ -104,6 +104,14 @@ $define|true|[yY]*) # any openbsd version dependencies with pthreads? ccflags="-pthread $ccflags" ldflags="-pthread $ldflags" + case "$osvers" in + [0-2].*|3.[0-2]) + # Change from -lc to -lc_r + set `echo "X $libswanted " | sed 's/ c / c_r /'` + shift + libswanted="$*" + ;; + esac esac EOCBU