diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-16 14:31:21 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-16 14:31:21 +0000 |
| commit | 6dbab158c4cb2d5fc8c3aa2341d695d1f214441b (patch) | |
| tree | 61f4a067622d19fed1e9e29630e5330a62d6e14f /lib/mkmf.rb | |
| parent | 04399a069d613a4a2553314907ff3aba9bf1dce8 (diff) | |
| download | ruby-6dbab158c4cb2d5fc8c3aa2341d695d1f214441b.tar.gz ruby-6dbab158c4cb2d5fc8c3aa2341d695d1f214441b.tar.xz ruby-6dbab158c4cb2d5fc8c3aa2341d695d1f214441b.zip | |
* lib/mkmf.rb (create_makefile): create RUBYARCHDIR also when no extension
is installed. fixed: [ruby-dev:25215]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
| -rw-r--r-- | lib/mkmf.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 2e2da375f..1976744cb 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -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 |
