mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fix build faild on Cygwin Environment
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user