mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge branch 'dearblue-break-in-conf'
This commit is contained in:
+10
-7
@@ -131,15 +131,18 @@ module MRuby
|
||||
end
|
||||
|
||||
MRuby::Build.current = current
|
||||
current.instance_eval(&block)
|
||||
if current.libmruby_enabled? && !current.mrbcfile_external?
|
||||
if current.presym_enabled?
|
||||
current.create_mrbc_build if current.host? || current.gems["mruby-bin-mrbc"]
|
||||
elsif current.host?
|
||||
current.build_mrbc_exec
|
||||
begin
|
||||
current.instance_eval(&block)
|
||||
ensure
|
||||
if current.libmruby_enabled? && !current.mrbcfile_external?
|
||||
if current.presym_enabled?
|
||||
current.create_mrbc_build if current.host? || current.gems["mruby-bin-mrbc"]
|
||||
elsif current.host?
|
||||
current.build_mrbc_exec
|
||||
end
|
||||
end
|
||||
current.presym = Presym.new(current) if current.presym_enabled?
|
||||
end
|
||||
current.presym = Presym.new(current) if current.presym_enabled?
|
||||
end
|
||||
|
||||
def libmruby_enabled?
|
||||
|
||||
Reference in New Issue
Block a user