1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/mkmf.rb (create_makefile): remove duplicated object files

from $objs on DOSISH platforms.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2004-01-04 16:48:45 +00:00
parent f206ed9bce
commit d110f97055
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon Jan 5 01:47:53 2004 NAKAMURA Usaku <usa@ruby-lang.org>
* lib/mkmf.rb (create_makefile): remove duplicated object files
from $objs on DOSISH platforms.
Sat Jan 3 02:44:48 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
* rubysig.h (TRAP_END): preserve errno before switching context.

View file

@ -784,7 +784,8 @@ def create_makefile(target, srcprefix = nil)
unless $objs then
$objs = []
for f in Dir[File.join(srcdir, "*.{#{SRC_EXT.join(%q{,})}}")]
$objs.push(File.basename(f, ".*") << "." << $OBJEXT)
obj = File.basename(f, ".*") << "." << $OBJEXT
$objs.push(obj) unless $objs.index(obj)
end
else
for i in $objs