Building Ruby with pthread is bad practice.
Ruby is not natively threaded; there is absolutely no reason to build against pthread unless you intend to link against libraries themselves built with pthread (tcl/tk). More information: http://blogs.sun.com/prashant/entry/ruby_and_enable_pthreads
This commit is contained in:
parent
b66629b371
commit
b966833a3e
1 changed files with 1 additions and 2 deletions
|
@ -11,8 +11,7 @@ class Ruby <Formula
|
|||
system "./configure", "--prefix=#{prefix}",
|
||||
"--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--enable-shared",
|
||||
"--enable-pthread"
|
||||
"--enable-shared"
|
||||
system "make"
|
||||
system "make install"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue