summaryrefslogtreecommitdiff
path: root/runruby.rb
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 /runruby.rb
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
Diffstat (limited to 'runruby.rb')
-rwxr-xr-xrunruby.rb3
1 files changed, 2 insertions, 1 deletions
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