1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

--with-broken-apple-openssl option

* ext/openssl/extconf.rb: add --with-broken-apple-openssl option.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-04-23 13:48:47 +00:00
parent e0431daa00
commit 82801b9113

View file

@ -59,7 +59,9 @@ unless have_header("openssl/conf_api.h")
end
if try_compile("", flag = "-Werror=deprecated-declarations")
unless have_func("SSL_library_init()", "openssl/ssl.h", flag)
abort "Ignore OpenSSL broken by Apple"
with_config("broken-apple-openssl") or
abort "Ignore OpenSSL broken by Apple"
$warnflags << " -Wno-deprecated-declarations"
end
end