diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-08 00:41:49 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-08 00:41:49 +0000 |
| commit | 10f026faf227cd4d6295ee61af32982ea00932af (patch) | |
| tree | 741814156cdfc5a7d13c40f8f3390ba4c0cbdcca | |
| parent | 3e9e27a90b21a8bf7cc5018e5ca65499586087ed (diff) | |
| download | ruby-10f026faf227cd4d6295ee61af32982ea00932af.tar.gz ruby-10f026faf227cd4d6295ee61af32982ea00932af.tar.xz ruby-10f026faf227cd4d6295ee61af32982ea00932af.zip | |
* runruby.rb: gets extout and arch from rbconfig.rb.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rwxr-xr-x | runruby.rb | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -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 b2a8802be..2bddf634e 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 |
