summaryrefslogtreecommitdiffstats
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
commit39ceaddfc9dbd85d51e4947867a91d23227a51e0 (patch)
treee7b00c267be0a21f0b09ddf83c3f2112df36dfa9 /lib/mkmf.rb
parentd521393de79b7e109ce35a10b8ca0675d0e75503 (diff)
downloadruby-39ceaddfc9dbd85d51e4947867a91d23227a51e0.tar.gz
ruby-39ceaddfc9dbd85d51e4947867a91d23227a51e0.tar.xz
ruby-39ceaddfc9dbd85d51e4947867a91d23227a51e0.zip
fix bug; support mingw32.
git-svn-id: http://svn.ruby-lang.org/repos/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 1301bf0f5..0cd91f38a 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