mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Tue May 26 11:01:41 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
* lib/mkmf.rb: use map! to replace strings in $objs array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
064057166b
commit
120d1b493b
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue May 26 11:01:41 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
|
||||
|
||||
* lib/mkmf.rb: use map! to replace strings in $objs array.
|
||||
|
||||
Tue May 26 05:39:28 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* include/ruby/ruby.h (FilePathValue): prevent from GC.
|
||||
|
|
|
@ -1654,8 +1654,8 @@ def create_makefile(target, srcprefix = nil)
|
|||
srcs = $objs.collect {|o| o.sub(/\.o\z/, '.c')}
|
||||
end
|
||||
$srcs = srcs
|
||||
for i in $objs
|
||||
i = i.sub(/\.o\z/, ".#{$OBJEXT}")
|
||||
$objs.map! do |obj|
|
||||
obj.sub(/\.o\z/, ".#{$OBJEXT}")
|
||||
end
|
||||
|
||||
target = nil if $objs.empty?
|
||||
|
|
Loading…
Add table
Reference in a new issue