Commit 121001c4 authored by skandhas's avatar skandhas

fix build faild on Cygwin Environment

parent 8e86ff22
...@@ -63,12 +63,11 @@ module MRuby ...@@ -63,12 +63,11 @@ module MRuby
if ENV['OS'] == 'Windows_NT' if ENV['OS'] == 'Windows_NT'
@exts = Exts.new('.o', '.exe', '.a') @exts = Exts.new('.o', '.exe', '.a')
@file_separator = '\\'
else else
@exts = Exts.new('.o', '', '.a') @exts = Exts.new('.o', '', '.a')
@file_separator = '/'
end end
@file_separator = '/'
@cc = Command::Compiler.new(self, %w(.c)) @cc = Command::Compiler.new(self, %w(.c))
@cxx = Command::Compiler.new(self, %w(.cc .cxx .cpp)) @cxx = Command::Compiler.new(self, %w(.cc .cxx .cpp))
@objc = Command::Compiler.new(self, %w(.m)) @objc = Command::Compiler.new(self, %w(.m))
......
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