mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* common.mk (COMPILE_PRELUDE): rbconfig is loaded on demand.
* tool/eval.rb, win32/{mkexports,resource}.rb: miniruby no longer contains "." in $:. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
922f3d0bed
commit
ecc775772a
5 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
Mon Feb 8 16:23:08 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* common.mk (COMPILE_PRELUDE): rbconfig is loaded on demand.
|
||||
|
||||
* tool/eval.rb, win32/{mkexports,resource}.rb: miniruby no longer
|
||||
contains "." in $:.
|
||||
|
||||
Mon Feb 8 10:28:58 2010 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* configure.in: check pthread_attr_getstack to prevent obsolete
|
||||
|
|
|
@ -123,7 +123,7 @@ TESTRUN_SCRIPT = $(srcdir)/test.rb
|
|||
|
||||
BOOTSTRAPRUBY = $(BASERUBY)
|
||||
|
||||
COMPILE_PRELUDE = $(MINIRUBY) -I$(srcdir) -I. -r./rbconfig $(srcdir)/tool/compile_prelude.rb
|
||||
COMPILE_PRELUDE = $(MINIRUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb
|
||||
|
||||
all: main docs
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
require 'rbconfig'
|
||||
require './rbconfig'
|
||||
require 'fileutils'
|
||||
require 'pp'
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
$name = $library = $description = nil
|
||||
|
||||
module RbConfig
|
||||
autoload :CONFIG, "rbconfig"
|
||||
autoload :CONFIG, "./rbconfig"
|
||||
end
|
||||
|
||||
class Exports
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!./miniruby -sI.
|
||||
|
||||
require 'rbconfig'
|
||||
require './rbconfig'
|
||||
|
||||
CONFIG = RbConfig::MAKEFILE_CONFIG
|
||||
|
||||
|
|
Loading…
Reference in a new issue