mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
extconf.rb - fix openssl with old Windows builds (#2757)
This commit is contained in:
parent
be5d3de002
commit
ad131ceafb
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ end
|
||||||
unless ENV["DISABLE_SSL"]
|
unless ENV["DISABLE_SSL"]
|
||||||
dir_config("openssl")
|
dir_config("openssl")
|
||||||
|
|
||||||
found_ssl = if pkg_config 'openssl'
|
found_ssl = if (!$mingw || RUBY_VERSION >= '2.4') && (t = pkg_config 'openssl')
|
||||||
puts 'using OpenSSL pkgconfig (openssl.pc)'
|
puts 'using OpenSSL pkgconfig (openssl.pc)'
|
||||||
true
|
true
|
||||||
elsif %w'crypto libeay32'.find {|crypto| have_library(crypto, 'BIO_read')} &&
|
elsif %w'crypto libeay32'.find {|crypto| have_library(crypto, 'BIO_read')} &&
|
||||||
|
|
Loading…
Reference in a new issue