From d954a1bfab9228d66848ca61564746b3f9ba2f0f Mon Sep 17 00:00:00 2001 From: Jason Potkanski Date: Tue, 14 Oct 2014 10:52:43 -0500 Subject: Update extconf.rb Add Cygwin detection --- ext/libyajl2/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb index 1e94507..0800f1f 100644 --- a/ext/libyajl2/extconf.rb +++ b/ext/libyajl2/extconf.rb @@ -24,7 +24,7 @@ module Libyajl2Build PREFIX = File.expand_path("../../../lib/libyajl2/vendored-libyajl2", __FILE__).freeze def self.windows? - !!(RUBY_PLATFORM =~ /mswin|mingw|windows/) + !!(RUBY_PLATFORM =~ /mswin|mingw|cygwin|windows/) end def self.libyajl2_vendor_dir -- cgit v1.2.1