fix build faild on Cygwin Environment

This commit is contained in:
skandhas
2013-01-21 14:34:30 +08:00
parent 8e86ff2283
commit 121001c4f5
+1 -2
View File
@@ -63,12 +63,11 @@ module MRuby
if ENV['OS'] == 'Windows_NT'
@exts = Exts.new('.o', '.exe', '.a')
@file_separator = '\\'
else
@exts = Exts.new('.o', '', '.a')
@file_separator = '/'
end
@file_separator = '/'
@cc = Command::Compiler.new(self, %w(.c))
@cxx = Command::Compiler.new(self, %w(.cc .cxx .cpp))
@objc = Command::Compiler.new(self, %w(.m))