diff --git a/lib/mruby/build.rb b/lib/mruby/build.rb index 90943f3b1..98b9b368d 100644 --- a/lib/mruby/build.rb +++ b/lib/mruby/build.rb @@ -64,7 +64,7 @@ module MRuby @file_separator = '/' @build_dir = "#{build_dir}/#{@name}" - @gem_clone_dir = "#{@build_dir}/repos" + @gem_clone_dir = "#{build_dir}/repos/#{@name}" @cc = Command::Compiler.new(self, %w(.c)) @cxx = Command::Compiler.new(self, %w(.cc .cxx .cpp)) @objc = Command::Compiler.new(self, %w(.m))