diff options
| author | Paolo Bosetti <[email protected]> | 2013-12-10 14:34:26 +0100 |
|---|---|---|
| committer | Paolo Bosetti <[email protected]> | 2013-12-10 14:34:26 +0100 |
| commit | 23afaf02dc146346da823f85cea7a51263d0e2b7 (patch) | |
| tree | f8eb81a88486f024a1473f37db85eadc964da0d8 /mrbgem.rake | |
| parent | 5a59fd3a5c83395847448db333c9df9d253a158c (diff) | |
| download | mruby-23afaf02dc146346da823f85cea7a51263d0e2b7.tar.gz mruby-23afaf02dc146346da823f85cea7a51263d0e2b7.zip | |
Made compatible with VisualStudio
Diffstat (limited to 'mrbgem.rake')
| -rw-r--r-- | mrbgem.rake | 8 |
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 |
