Commit 7d538a3f by Yi Gu

Treat the openssl 0.9.8(r|x) bundled with OS X as broken library. So the…

Treat the openssl 0.9.8(r|x) bundled with OS X as broken library. So the ruby-build will download and build the latest one.
parent 1b170ee8
...@@ -608,7 +608,7 @@ verify_gcc() { ...@@ -608,7 +608,7 @@ verify_gcc() {
has_broken_mac_openssl() { has_broken_mac_openssl() {
[ "$(uname -s)" = "Darwin" ] && [ "$(uname -s)" = "Darwin" ] &&
[ "$(openssl version 2>/dev/null || true)" = "OpenSSL 0.9.8r 8 Feb 2011" ] && [[ "$(openssl version 2>/dev/null || true)" =~ 'OpenSSL 0\.9\.8' ]] &&
[[ "$RUBY_CONFIGURE_OPTS" != *--with-openssl-dir=* ]] [[ "$RUBY_CONFIGURE_OPTS" != *--with-openssl-dir=* ]]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment