1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/ext/puma_http11/extconf.rb

14 lines
296 B
Ruby
Raw Normal View History

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")