mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
13 lines
296 B
Ruby
13 lines
296 B
Ruby
require 'mkmf'
|
|
|
|
dir_config("puma_http11")
|
|
|
|
unless ENV["DISABLE_SSL"]
|
|
if %w'crypto libeay32'.find {|crypto| have_library(crypto, 'BIO_read')} and
|
|
%w'ssl ssleay32'.find {|ssl| have_library(ssl, 'SSL_CTX_new')}
|
|
|
|
have_header "openssl/bio.h"
|
|
end
|
|
end
|
|
|
|
create_makefile("puma/puma_http11")
|