diff options
Diffstat (limited to 'ext/openssl/extconf.rb')
-rw-r--r-- | ext/openssl/extconf.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index e214173173..dd0ebf4fda 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -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 |