[前][次][番号順一覧][スレッド一覧]

ruby-changes:45518

From: nobu <ko1@a...>
Date: Fri, 10 Feb 2017 12:58:08 +0900 (JST)
Subject: [ruby-changes:45518] nobu:r57591 (trunk): openssl: fix broken openssl check

nobu	2017-02-10 12:58:02 +0900 (Fri, 10 Feb 2017)

  New Revision: 57591

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57591

  Log:
    openssl: fix broken openssl check
    
    * ext/openssl/extconf.rb: check for broken OpenSSL only on mac OS.
      [ruby-core:79475] [Bug #13200]

  Modified files:
    trunk/ext/openssl/extconf.rb
Index: ext/openssl/extconf.rb
===================================================================
--- ext/openssl/extconf.rb	(revision 57590)
+++ ext/openssl/extconf.rb	(revision 57591)
@@ -60,7 +60,7 @@ unless result https://github.com/ruby/ruby/blob/trunk/ext/openssl/extconf.rb#L60
   raise "OpenSSL 0.9.8 or later required."
 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')"
 end
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]