mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb (depend_rules): suffixes list broken. fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
256ddf48c2
commit
fede8b213b
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Fri Dec 21 23:48:38 2007 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/mkmf.rb (depend_rules): suffixes list broken. fixed.
|
||||||
|
|
||||||
Fri Dec 21 20:18:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Fri Dec 21 20:18:15 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* bignum.c (rb_big_mul0): remove unused variable.
|
* bignum.c (rb_big_mul0): remove unused variable.
|
||||||
|
|
|
@ -1269,10 +1269,6 @@ end
|
||||||
def depend_rules(depend)
|
def depend_rules(depend)
|
||||||
suffixes = []
|
suffixes = []
|
||||||
depout = []
|
depout = []
|
||||||
depout << "$(OBJS): $(RUBY_EXTCONF_H)\n\n" if $extconf_h
|
|
||||||
unless suffixes.empty?
|
|
||||||
depout << ".SUFFIXES: ." + suffixes.uniq.join(" .") + "\n\n"
|
|
||||||
end
|
|
||||||
cont = implicit = nil
|
cont = implicit = nil
|
||||||
impconv = proc do
|
impconv = proc do
|
||||||
COMPILE_RULES.each {|rule| depout << (rule % implicit[0]) << implicit[1]}
|
COMPILE_RULES.each {|rule| depout << (rule % implicit[0]) << implicit[1]}
|
||||||
|
@ -1314,6 +1310,10 @@ def depend_rules(depend)
|
||||||
elsif implicit
|
elsif implicit
|
||||||
impconv.call
|
impconv.call
|
||||||
end
|
end
|
||||||
|
unless suffixes.empty?
|
||||||
|
depout.unshift(".SUFFIXES: ." + suffixes.uniq.join(" .") + "\n\n")
|
||||||
|
end
|
||||||
|
depout.unshift("$(OBJS): $(RUBY_EXTCONF_H)\n\n") if $extconf_h
|
||||||
depout.flatten!
|
depout.flatten!
|
||||||
depout
|
depout
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue