Commit 73fa0d63 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #759 from skandhas/pr-fix-build-on-cygwin

fix build faild on Cygwin Environment
parents 84ef21a4 121001c4
...@@ -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