summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-08 00:41:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-08 00:41:49 +0000
commit048acb66383cae6926c0d4a661f1b87bb62d716f (patch)
tree741814156cdfc5a7d13c40f8f3390ba4c0cbdcca
parenta61cd5ed3984dedc92c0eea6f35c179b305d0afe (diff)
* runruby.rb: gets extout and arch from rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rwxr-xr-xrunruby.rb3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 188f2fa714..644f921d5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Feb 8 09:41:47 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * runruby.rb: gets extout and arch from rbconfig.rb.
+
Sat Feb 7 21:26:15 2009 Tanaka Akira <akr@fsij.org>
* test/socket/test_addrinfo.rb (test_family_addrinfo): don't use
diff --git a/runruby.rb b/runruby.rb
index b2a8802be1..2bddf634ed 100755
--- a/runruby.rb
+++ b/runruby.rb
@@ -49,9 +49,10 @@ unless File.exist?(ruby)
end
libs = [abs_archdir]
+extout ||= config["EXTOUT"]
if extout
abs_extout = File.expand_path(extout)
- libs << File.expand_path("common", abs_extout) << File.expand_path(RUBY_PLATFORM, abs_extout)
+ libs << File.expand_path("common", abs_extout) << File.expand_path(config['arch'], abs_extout)
end
libs << File.expand_path("lib", srcdir)
config["bindir"] = abs_archdir