diff options
author | Abe Timmerman <abe@ztreet.demon.nl> | 2003-02-02 19:27:57 +0100 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2003-02-03 16:14:00 +0000 |
commit | 1ac0c030938fdadc1de87ae3d73ac10fe6533072 (patch) | |
tree | 05615c017dd1acdd3d78c7d64f073976b32d3519 | |
parent | f6538904d445913b429d2c3d069713b27d124dec (diff) | |
download | perl-1ac0c030938fdadc1de87ae3d73ac10fe6533072.tar.gz |
Re: [perl #20606] [PATCH} openbsd hints
Message-Id: <200302021827.57240.abe@ztreet.demon.nl>
p4raw-id: //depot/perl@18647
-rw-r--r-- | hints/openbsd.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hints/openbsd.sh b/hints/openbsd.sh index cc94617641..54626fbe09 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 |