summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--lib/mkmf.rb3
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 67da469b6d..1abf09ce60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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