From f3ad9bf9b3009ef1ac13222adc0aba5d7c156876 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 8 May 2008 07:41:23 +0000 Subject: * configure.in (MINIRUBY), common.mk (RUBYOPT): add purelib.rb. [ruby-core:16642] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- common.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'common.mk') diff --git a/common.mk b/common.mk index 6034547f5a..b80d829001 100644 --- a/common.mk +++ b/common.mk @@ -4,7 +4,8 @@ dll: $(LIBRUBY_SO) .SUFFIXES: .inc -RUBYOPT = +RUBYLIB = - +RUBYOPT = -rpurelib.rb STATIC_RUBY = static-ruby @@ -114,6 +115,9 @@ all: $(MKFILES) $(PREP) incs $(RBCONFIG) $(LIBRUBY) encs @$(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" $(EXTMK_ARGS) prog: $(PROGRAM) $(WPROGRAM) +loadpath: $(PREP) + $(MINIRUBY) -e 'p $$:' + $(PREP): $(MKFILES) miniruby$(EXEEXT): config.status $(NORMALMAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT) $(ARCHFILE) -- cgit v1.2.3