summaryrefslogtreecommitdiffhomepage
path: root/mrbgem.rake
diff options
context:
space:
mode:
Diffstat (limited to 'mrbgem.rake')
-rw-r--r--mrbgem.rake8
1 files changed, 8 insertions, 0 deletions
diff --git a/mrbgem.rake b/mrbgem.rake
index 029af4d26..77ad101af 100644
--- a/mrbgem.rake
+++ b/mrbgem.rake
@@ -3,4 +3,12 @@ MRuby::Gem::Specification.new('mruby-io') do |spec|
spec.authors = 'Internet Initiative Japan Inc.'
spec.cc.include_paths << "#{build.root}/src"
+
+ case RUBY_PLATFORM
+ when /mingw|mswin/
+ spec.linker.libraries += ['Ws2_32']
+ #spec.cc.include_paths += ["C:/Windows/system/include"]
+ spec.linker.library_paths += ["C:/Windows/system"]
+ end
+
end