Skip to content

Commit

Permalink
DEBUG: dump mkmf.log
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Sep 19, 2019
1 parent 2d1e3bd commit 69e209a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ext/extmk.rb
Expand Up @@ -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)
Expand Down

0 comments on commit 69e209a

Please sign in to comment.