Commit 2d1134e9 authored by Tomoyuki Sahara's avatar Tomoyuki Sahara

Merge pull request #41 from hone/cross_compile_windows

support for crossbuild for windows (32 bit and 64 bit) using mingw
parents 1b5c6856 fe7784ef
...@@ -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