summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-08 07:41:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-08 07:41:23 +0000
commitf3ad9bf9b3009ef1ac13222adc0aba5d7c156876 (patch)
treef8bceb77b9bde9399608216e4b23c6721dd8f04b /common.mk
parent714cd205ccaf326abc1b275923dccaa58cfec6c3 (diff)
* 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
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk6
1 files changed, 5 insertions, 1 deletions
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)