From 7d52386578e2fc1199796d701e923185a7b152ed Mon Sep 17 00:00:00 2001 From: rdpoor Date: Fri, 19 Dec 2014 20:51:00 -0800 Subject: [PATCH] Update extconf.rb to compile correctly on OS X --- ext/puma_http11/extconf.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/puma_http11/extconf.rb b/ext/puma_http11/extconf.rb index e523abaa..a2d7abdb 100644 --- a/ext/puma_http11/extconf.rb +++ b/ext/puma_http11/extconf.rb @@ -2,8 +2,8 @@ require 'mkmf' dir_config("puma_http11") -if %w'ssl ssleay32'.find {|ssl| have_library(ssl, 'SSL_CTX_new')} and - %w'crypto libeay32'.find {|crypto| have_library(crypto, 'BIO_read')} - +if %w'crypto libeay32'.find {|crypto| have_library(crypto, 'BIO_read')} and + %w'ssl ssleay32'.find {|ssl| have_library(ssl, 'SSL_CTX_new')} + create_makefile("puma/puma_http11") end