summaryrefslogtreecommitdiff
path: root/lib/mkmf.rb
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-14 09:36:29 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-05-14 09:36:29 +0000
commit693599714a16c085f912dcddde16f52a18d2858b (patch)
treee7b00c267be0a21f0b09ddf83c3f2112df36dfa9 /lib/mkmf.rb
parent73667560792c0dc7bdbcd96b4ba56c65ba558506 (diff)
fix bug; support mingw32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r--lib/mkmf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 1301bf0..0cd91f3 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -356,6 +356,7 @@ def create_makefile(target)
$objs = $objs.join(" ")
mfile = open("Makefile", "w")
+ mfile.binmode if /mingw/ =~ RUBY_PLATFORM
mfile.print <<EOMF
SHELL = /bin/sh