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

Keep deprecated features warnings, because that happens to be a command line argument prefix also used by Visual C++, but that is a fatal compiler error (invalid argument)

This commit is contained in:
Joel Low 2014-07-12 09:55:16 +08:00
parent e6e57b1092
commit 46d970402e

View file

@ -2,8 +2,6 @@ require 'mkmf'
dir_config("puma_http11") dir_config("puma_http11")
$defs.push "-Wno-deprecated-declarations"
if %w'ssl ssleay32'.find {|ssl| have_library(ssl, 'SSL_CTX_new')} and if %w'ssl ssleay32'.find {|ssl| have_library(ssl, 'SSL_CTX_new')} and
%w'crypto libeay32'.find {|crypto| have_library(crypto, 'BIO_read')} %w'crypto libeay32'.find {|crypto| have_library(crypto, 'BIO_read')}