ruby-changes:10561
From: nobu <ko1@a...>
Date: Sun, 8 Feb 2009 09:42:20 +0900 (JST)
Subject: [ruby-changes:10561] Ruby:r22116 (trunk): * runruby.rb: gets extout and arch from rbconfig.rb.
nobu 2009-02-08 09:41:49 +0900 (Sun, 08 Feb 2009) New Revision: 22116 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22116 Log: * runruby.rb: gets extout and arch from rbconfig.rb. Modified files: trunk/ChangeLog trunk/runruby.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 22115) +++ ChangeLog (revision 22116) @@ -1,3 +1,7 @@ +Sun Feb 8 09:41:47 2009 Nobuyoshi Nakada <nobu@r...> + + * runruby.rb: gets extout and arch from rbconfig.rb. + Sat Feb 7 21:26:15 2009 Tanaka Akira <akr@f...> * test/socket/test_addrinfo.rb (test_family_addrinfo): don't use Index: runruby.rb =================================================================== --- runruby.rb (revision 22115) +++ runruby.rb (revision 22116) @@ -49,9 +49,10 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/