summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/extmk.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index d0baa837e9..bb32e82f13 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -16,7 +16,6 @@ alias $PROGRAM_NAME $0
alias $0 $progname
$extlist = []
-$extupdate = false
$compiled = {}
$:.replace([Dir.pwd])
@@ -129,7 +128,6 @@ def extmake(target)
then
ok = false
init_mkmf
- $defs << "-DRUBY_EXPORT" if $static
Logging::logfile 'mkmf.log'
rm_f makefile
if File.exist?($0 = "#{$srcdir}/makefile.rb")
@@ -139,7 +137,7 @@ def extmake(target)
else
create_makefile(target)
end
- $extupdate = true
+ $defs << "-DRUBY_EXPORT" if $static
ok = File.exist?(makefile)
end
rescue SystemExit
@@ -471,9 +469,6 @@ Dir.chdir ".."
unless $destdir.to_s.empty?
$mflags.defined?("DESTDIR") or $mflags << "DESTDIR=#{$destdir}"
end
-if !$extlist.empty? and $extupdate
- rm_f(RbConfig::CONFIG["LIBRUBY_SO"])
-end
puts "making #{rubies.join(', ')}"
$stdout.flush
$mflags.concat(rubies)