diff --git a/ext/puma_http11/extconf.rb b/ext/puma_http11/extconf.rb index 98a72554..13442d85 100644 --- a/ext/puma_http11/extconf.rb +++ b/ext/puma_http11/extconf.rb @@ -5,7 +5,7 @@ dir_config("puma_http11") $defs.push "-Wno-deprecated-declarations" if %w'ssl ssleay32'.find {|ssl| have_library(ssl, 'SSL_CTX_new')} and - %w'crypto libeay32'.find {|crypto| have_library(ssl, 'BIO_read')} + %w'crypto libeay32'.find {|crypto| have_library(crypto, 'BIO_read')} create_makefile("puma/puma_http11") end