From 0de571b69564ed8db69bfa87ddc028d2f1d8e3f1 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 24 May 2006 16:43:45 +0000 Subject: * ext/extmk.rb: deal with $static set in extconf.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/extmk.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'ext/extmk.rb') diff --git a/ext/extmk.rb b/ext/extmk.rb index 210f709442..d33cbd9128 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 @@ -470,9 +468,6 @@ Dir.chdir ".." unless $destdir.to_s.empty? $mflags.defined?("DESTDIR") or $mflags << "DESTDIR=#{$destdir}" end -if !$extlist.empty? and $extupdate - rm_f(Config::CONFIG["LIBRUBY_SO"]) -end puts "making #{rubies.join(', ')}" $stdout.flush $mflags.concat(rubies) -- cgit v1.2.3