RUBY_PLATFORM may not contain mswin or mingw; Add msys

This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-08-07 08:49:36 +09:00
parent 97672b22e6
commit eceaa80de7
+1 -1
View File
@@ -6,7 +6,7 @@ MRuby::Gem::Specification.new('mruby-io') do |spec|
spec.cc.include_paths << "#{build.root}/src"
case RUBY_PLATFORM
when /mingw|mswin/
when /mingw|mswin|msys/
spec.linker.libraries += ['Ws2_32']
#spec.cc.include_paths += ["C:/Windows/system/include"]
spec.linker.library_paths += ["C:/Windows/system"]