summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-22 21:37:36 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-22 21:37:36 +0000
commit46fa180ea0bc6fd8b6e5b3b5566a966519f63759 (patch)
tree15b757670a01b2fb99e83eed11ba30e5aaf9e45d /lib
parentd53a933fdfbc4974af43ef6812520324891c70af (diff)
merge -r 12332:12336
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/mkmf.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index 2189a43..21fc2fc 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -1052,6 +1052,9 @@ topdir = #{($extmk ? CONFIG["topdir"] : $topdir).quote}
hdrdir = #{$extmk ? CONFIG["hdrdir"].quote : '$(topdir)'}
VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])}
}
+ if $extmk
+ mk << "RUBYLIB = -\nRUBYOPT = -rpurelib.rb\n"
+ end
if destdir = CONFIG["prefix"][$dest_prefix_pattern, 1]
mk << "\nDESTDIR = #{destdir}\n"
end