summaryrefslogtreecommitdiff
path: root/ext/extmk.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-19 02:09:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-19 02:09:06 +0000
commit9bfa5d917f8cb3e123a24c86813c191d05fcf53b (patch)
tree398b0ebd9ef3144afff02c273ca93e9928ebe6d3 /ext/extmk.rb
parentcf87846f16bc1b54d29f7d20a53ad4dab9631af0 (diff)
extmk.rb: cygwin case
* ext/extmk.rb: add cygwin case, nothing excluded. [ruby-core:73806] [Bug#12071] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb')
-rwxr-xr-xext/extmk.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 3efecbc..d2832c5 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -494,7 +494,10 @@ end unless $extstatic
ext_prefix = "#{$top_srcdir}/ext"
exts = $static_ext.sort_by {|t, i| i}.collect {|t, i| t}
default_exclude_exts =
- if $mswin or $mingw
+ case
+ when $cygwin
+ %w''
+ when $mswin, $mingw
%w'pty syslog'
else
%w'*win32*'