diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | common.mk | 2 | ||||
-rwxr-xr-x | tool/eval.rb | 2 | ||||
-rwxr-xr-x | win32/mkexports.rb | 2 | ||||
-rwxr-xr-x | win32/resource.rb | 2 |
5 files changed, 11 insertions, 4 deletions
@@ -1,3 +1,10 @@ +Mon Feb 8 16:23:08 2010 Nobuyoshi Nakada <[email protected]> + + * 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 <[email protected]> * 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 diff --git a/tool/eval.rb b/tool/eval.rb index f7299c8b95..ced244a4da 100755 --- a/tool/eval.rb +++ b/tool/eval.rb @@ -1,5 +1,5 @@ -require 'rbconfig' +require './rbconfig' require 'fileutils' require 'pp' diff --git a/win32/mkexports.rb b/win32/mkexports.rb index 6ef20eab69..951429e35a 100755 --- a/win32/mkexports.rb +++ b/win32/mkexports.rb @@ -3,7 +3,7 @@ $name = $library = $description = nil module RbConfig - autoload :CONFIG, "rbconfig" + autoload :CONFIG, "./rbconfig" end class Exports diff --git a/win32/resource.rb b/win32/resource.rb index eda450952b..786edb0dd6 100755 --- a/win32/resource.rb +++ b/win32/resource.rb @@ -1,6 +1,6 @@ #!./miniruby -sI. -require 'rbconfig' +require './rbconfig' CONFIG = RbConfig::MAKEFILE_CONFIG |