mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
openssl: fix broken openssl check
* ext/openssl/extconf.rb: check for broken OpenSSL only on mac OS. [ruby-core:79475] [Bug #13200] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f9694cdb67
commit
9101875d30
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ unless result
|
||||||
raise "OpenSSL 0.9.8 or later required."
|
raise "OpenSSL 0.9.8 or later required."
|
||||||
end
|
end
|
||||||
|
|
||||||
unless OpenSSL.check_func("SSL_library_init()", "openssl/ssl.h")
|
if /darwin/ =~ RUBY_PLATFORM and !OpenSSL.check_func("SSL_library_init()", "openssl/ssl.h")
|
||||||
raise "Ignore OpenSSL broken by Apple.\nPlease use another openssl. (e.g. using `configure --with-openssl-dir=/path/to/openssl')"
|
raise "Ignore OpenSSL broken by Apple.\nPlease use another openssl. (e.g. using `configure --with-openssl-dir=/path/to/openssl')"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue