summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rwxr-xr-xext/extmk.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index 737e998b28..1a318b38a1 100755
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -230,10 +230,8 @@ def extmake(target)
Logging::message(mess) if Logging.log_opened?
print(mess)
$stdout.flush
- Logging::log_close
return true
end
- Logging::log_close
args = sysquote($mflags)
unless $destdir.to_s.empty? or $mflags.defined?("DESTDIR")
args += [sysquote("DESTDIR=" + relative_from($destdir, "../"+prefix))]
@@ -265,6 +263,7 @@ def extmake(target)
$extpath |= $LIBPATH
end
ensure
+ Logging::log_close
unless $ignore
RbConfig.module_eval {
remove_const(:CONFIG)