Removed mkmf.log dump in Makefile

This commit is contained in:
Nobuyoshi Nakada 2019-09-19 12:23:55 +09:00
parent 66c644da5e
commit df3fd50717
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
2 changed files with 5 additions and 8 deletions

View file

@ -271,9 +271,11 @@ def extmake(target, basedir = 'ext', maybestatic = true)
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)
begin
if File.exist?("mkmf.log")
IO.copy_stream("mkmf.log", STDERR)
end
rescue SystemCallError
end
end
if rbconfig0