Commit fe7784ef authored by Terence Lee's avatar Terence Lee

support for crossbuild for windows (32 bit and 64 bit) using mingw

parent 1b5c6856
...@@ -10,5 +10,7 @@ MRuby::Gem::Specification.new('mruby-io') do |spec| ...@@ -10,5 +10,7 @@ MRuby::Gem::Specification.new('mruby-io') do |spec|
#spec.cc.include_paths += ["C:/Windows/system/include"] #spec.cc.include_paths += ["C:/Windows/system/include"]
spec.linker.library_paths += ["C:/Windows/system"] spec.linker.library_paths += ["C:/Windows/system"]
end end
if build.kind_of?(MRuby::CrossBuild) && %w(x86_64-w64-mingw32 i686-w64-mingw32).include?(build.host_target)
spec.linker.libraries += ['ws2_32']
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment