source: EcnlProtoTool/trunk/mrbgems/mruby-socket/mrbgem.rake@ 321

Last change on this file since 321 was 321, checked in by coas-nagasima, 7 years ago

文字コードを設定

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-ruby;charset=UTF-8
File size: 451 bytes
Line 
1MRuby::Gem::Specification.new('mruby-socket') do |spec|
2 spec.license = 'MIT'
3 spec.authors = 'Internet Initiative Japan'
4
5 spec.cc.include_paths << "#{build.root}/src"
6
7 # If Windows, use winsock
8 if ( /mswin|mingw|win32/ =~ RUBY_PLATFORM ) then
9 spec.linker.libraries << "wsock32"
10 spec.linker.libraries << "ws2_32"
11 end
12
13 spec.add_dependency('mruby-io')
14 spec.add_dependency('mruby-pack')
15 # spec.add_dependency('mruby-mtest')
16end
Note: See TracBrowser for help on using the repository browser.