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 | 326ebac3dbb4649464e38936f6850765302d77d6 (patch) | |
tree | 61f4a067622d19fed1e9e29630e5330a62d6e14f /lib/mkmf.rb | |
parent | c09dc0f7257c40d5ee2f5eb90a0f7cdf8fb134a9 (diff) | |
download | ruby-326ebac3dbb4649464e38936f6850765302d77d6.tar.gz |
* 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
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 2e2da375f4..1976744cbd 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 |