* lib/mkmf.rb (create_makefile): create RUBYARCHDIR also when no extension

is installed.  fixed: [ruby-dev:25215]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-12-16 14:31:21 +00:00
parent c09dc0f725
commit 326ebac3db
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Thu Dec 16 23:31:13 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (create_makefile): create RUBYARCHDIR also when no extension
is installed. fixed: [ruby-dev:25215]
Thu Dec 16 22:36:57 2004 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* test/drb/test_drb.rb: adjust and reduce sleep.

View File

@ -920,7 +920,7 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""}
mfile.print CLEANINGS
dirs = []
mfile.print "install: install-so install-rb\n\n"
dirs << (dir = "$(RUBYARCHDIR)")
sodir = dir = "$(RUBYARCHDIR)"
mfile.print("install-so: #{dir}\n")
if target
f = "$(DLLIB)"
@ -946,6 +946,7 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""}
end
end
end
dirs.unshift(sodir) if target and !dirs.include?(sodir)
dirs.each {|dir| mfile.print "#{dir}:\n\t@$(MAKEDIRS) $@\n"}
mfile.print <<-SITEINSTALL