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 | |
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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/mkmf.rb | 3 |
2 files changed, 8 insertions, 2 deletions
@@ -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. @@ -105,7 +110,7 @@ Tue Dec 14 17:08:15 2004 NAKAMURA Usaku <usa@ruby-lang.org> Tue Dec 14 14:03:57 2004 GOTOU Yuuzou <gotoyuzo@notwork.org> * ext/openssl/ossl.c (ossl_raise): avoid buffer overrun. - [ruby-dev:25187] + [ruby-dev:25187] Tue Dec 14 12:36:04 2004 Yukihiro Matsumoto <matz@ruby-lang.org> 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 |