Last change
on this file since 398 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:
539 bytes
|
Line | |
---|
1 | MRuby::Gem::Specification.new('mruby-io') do |spec|
|
---|
2 | spec.license = 'MIT'
|
---|
3 | spec.authors = 'Internet Initiative Japan Inc.'
|
---|
4 |
|
---|
5 | spec.cc.include_paths << "#{build.root}/src"
|
---|
6 |
|
---|
7 | case RUBY_PLATFORM
|
---|
8 | when /mingw|mswin/
|
---|
9 | spec.linker.libraries += ['Ws2_32']
|
---|
10 | #spec.cc.include_paths += ["C:/Windows/system/include"]
|
---|
11 | spec.linker.library_paths += ["C:/Windows/system"]
|
---|
12 | end
|
---|
13 | if build.kind_of?(MRuby::CrossBuild) && %w(x86_64-w64-mingw32 i686-w64-mingw32).include?(build.host_target)
|
---|
14 | spec.linker.libraries += ['ws2_32']
|
---|
15 | end
|
---|
16 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.