Should not update `@objs` from mruby-bin-mruby mrbgem.rake; fix #3751

parent 308341b9
......@@ -7,7 +7,6 @@ MRuby::Gem::Specification.new('mruby-bin-mruby') do |spec|
spec.add_dependency('mruby-error', :core => 'mruby-error')
if build.cxx_exception_enabled?
@objs << build.compile_as_cxx("#{spec.dir}/tools/mruby/mruby.c", "#{spec.build_dir}/tools/mruby/mruby.cxx")
@objs.delete_if { |v| v == objfile("#{spec.build_dir}/tools/mruby/mruby") }
build.compile_as_cxx("#{spec.dir}/tools/mruby/mruby.c", "#{spec.build_dir}/tools/mruby/mruby.cxx")
end
end
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