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

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

mrubyを2.1.1に更新

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