summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-mruby
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-07-24 16:53:20 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-07-24 16:53:20 +0900
commit7f9e3336473f13d0e459cdedba665a6bf14f877f (patch)
tree3fea5918870823aabb05aa2d0b79274b27a37702 /mrbgems/mruby-bin-mruby
parent308341b990dd382f999d8ad2382e4ce92453a8c9 (diff)
downloadmruby-7f9e3336473f13d0e459cdedba665a6bf14f877f.tar.gz
mruby-7f9e3336473f13d0e459cdedba665a6bf14f877f.zip
Should not update `@objs` from mruby-bin-mruby mrbgem.rake; fix #3751
Diffstat (limited to 'mrbgems/mruby-bin-mruby')
-rw-r--r--mrbgems/mruby-bin-mruby/mrbgem.rake3
1 files changed, 1 insertions, 2 deletions
diff --git a/mrbgems/mruby-bin-mruby/mrbgem.rake b/mrbgems/mruby-bin-mruby/mrbgem.rake
index 243b413eb..fbec13847 100644
--- a/mrbgems/mruby-bin-mruby/mrbgem.rake
+++ b/mrbgems/mruby-bin-mruby/mrbgem.rake
@@ -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