tasks/bin/cross-ruby.rake in rake-compiler-0.7.6 vs tasks/bin/cross-ruby.rake in rake-compiler-0.7.7
- old
+ new
@@ -129,9 +129,12 @@
'--disable-install-doc',
'--without-tk',
'--without-tcl'
]
+ # Force Winsock2 for Ruby 1.8, 1.9 defaults to it
+ options << "--with-winsock2" if MAJOR == "1.8"
+
chdir File.dirname(t.name) do
prefix = File.expand_path("../../ruby/#{RUBY_CC_VERSION}")
options << "--prefix=#{prefix}"
sh File.expand_path("../../sources/#{RUBY_CC_VERSION}/configure"), *options
end