mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
DEBUG: dump mkmf.log
This commit is contained in:
parent
2d1e3bd8f1
commit
69e209a345
1 changed files with 6 additions and 0 deletions
|
@ -270,6 +270,12 @@ def extmake(target, basedir = 'ext', maybestatic = true)
|
|||
end
|
||||
ensure
|
||||
Logging::log_close
|
||||
if error
|
||||
STDERR.print("#{message}\n\t#{error.backtrace.join("\n\t")}\n")
|
||||
if File.exist?("mkmf.log")
|
||||
IO.copy_stream("mkmf.log", STDERR)
|
||||
end
|
||||
end
|
||||
if rbconfig0
|
||||
RbConfig.module_eval {
|
||||
remove_const(:CONFIG)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue