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:
		
							parent
							
								
									e0431daa00
								
							
						
					
					
						commit
						82801b9113
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue