mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (enable_pthread): use -pthread on OpenBSD without
explicit option. patched by Jeremy Evans. [ruby-core:38572] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
60053a0a50
commit
63bbbdb6fb
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Jul 29 16:00:43 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* configure.in (enable_pthread): use -pthread on OpenBSD without
|
||||
explicit option. patched by Jeremy Evans. [ruby-core:38572]
|
||||
|
||||
Thu Jul 28 23:36:28 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||
|
||||
* ext/fiddle/closure.c (callback): use rb_ary_tmp_new() instead of
|
||||
|
|
|
@ -1805,7 +1805,9 @@ if test x"$enable_pthread" = xyes; then
|
|||
[c], [],
|
||||
[root], [],
|
||||
[c_r], [MAINLIBS="-pthread $MAINLIBS"],
|
||||
[LIBS="-l$pthread_lib $LIBS"])
|
||||
[AS_CASE(["$target_os"],
|
||||
[openbsd*], [LIBS="-pthread $LIBS"],
|
||||
[LIBS="-l$pthread_lib $LIBS"])])
|
||||
else
|
||||
AC_MSG_WARN("Don't know how to find pthread library on your system -- thread support disabled")
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue