mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Merge pull request #553 from lowjoel/master
Instead of hardcoding dependencies, detect and use what is found
This commit is contained in:
commit
2d342dc38c
1 changed files with 4 additions and 3 deletions
|
@ -2,7 +2,8 @@ require 'mkmf'
|
|||
|
||||
dir_config("puma_http11")
|
||||
|
||||
$defs.push "-Wno-deprecated-declarations"
|
||||
$libs += " -lssl -lcrypto "
|
||||
if %w'ssl ssleay32'.find {|ssl| have_library(ssl, 'SSL_CTX_new')} and
|
||||
%w'crypto libeay32'.find {|crypto| have_library(crypto, 'BIO_read')}
|
||||
|
||||
create_makefile("puma/puma_http11")
|
||||
create_makefile("puma/puma_http11")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue