summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-17 15:03:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-17 15:03:19 +0000
commita255f0bbc3e6d7b0cf187c057b4c8650bf233ee2 (patch)
tree471a365495e512b6c6c5007581e08c67c47e3d78 /ext
parent9894229171c0659519905389e79360dd0b633e5d (diff)
downloadruby-a255f0bbc3e6d7b0cf187c057b4c8650bf233ee2.tar.gz
ruby-a255f0bbc3e6d7b0cf187c057b4c8650bf233ee2.tar.xz
ruby-a255f0bbc3e6d7b0cf187c057b4c8650bf233ee2.zip
* ext/extmk.rb: remove LIBRUBY_SO if static linked extensions exist.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/extmk.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb
index ef060c5dd..5badcc755 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -480,6 +480,9 @@ Dir.chdir ".."
unless $destdir.to_s.empty?
$mflags.defined?("DESTDIR") or $mflags << "DESTDIR=#{$destdir}"
end
+unless $extlist.empty?
+ rm_f(Config::CONFIG["LIBRUBY_SO"])
+end
puts "making #{rubies.join(', ')}"
$stdout.flush
$mflags.concat(rubies)