Last change
on this file since 279 was 279, checked in by coas-nagasima, 7 years ago |
ファイルを追加、更新。
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-ruby
|
File size:
451 bytes
|
Rev | Line | |
---|
[279] | 1 | MRuby::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')
|
---|
| 16 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.