projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
The change of not needing -pthread in FreeBSD 5.x
[p5sagit/p5-mst-13.2.git]
/
hints
/
freebsd.sh
diff --git
a/hints/freebsd.sh
b/hints/freebsd.sh
index
901415e
..
7e75ddd
100644
(file)
--- a/
hints/freebsd.sh
+++ b/
hints/freebsd.sh
@@
-231,7
+231,9
@@
EOM
;;
5.*) d_gethostbyaddr_r="undef"
d_gethostbyaddr_r_proto="0"
- # no need for -pthread in 5.*
+ if [ `/sbin/sysctl -n kern.osreldate` -lt 500016 ]; then
+ ldflags="-pthread $ldflags"
+ fi
;;
*) ldflags="-pthread $ldflags"
;;