Skip to content

Commit

Permalink
extconf.rb - fix openssl with old Windows builds (puma#2757)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg authored and JuanitoFatas committed Sep 9, 2022
1 parent 3068285 commit d4f000c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/puma_http11/extconf.rb
Expand Up @@ -11,7 +11,7 @@
unless ENV["DISABLE_SSL"]
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)'
true
elsif %w'crypto libeay32'.find {|crypto| have_library(crypto, 'BIO_read')} &&
Expand Down

0 comments on commit d4f000c

Please sign in to comment.