diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-22 20:48:34 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-22 20:48:34 +0000 |
| commit | 2fb21db08c647538c050e19a65ece7702abefbab (patch) | |
| tree | b7d51903ae06d9373968445ddca12c03d088ceef /lib | |
| parent | 86202a88c389c972b5ade21f87b9a8ab8019ec34 (diff) | |
| download | ruby-2fb21db08c647538c050e19a65ece7702abefbab.tar.gz ruby-2fb21db08c647538c050e19a65ece7702abefbab.tar.xz ruby-2fb21db08c647538c050e19a65ece7702abefbab.zip | |
* ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default
load path to get rid of load pre-installed extensions/libraries.
[ruby-core:11017]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mkmf.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index e243dce55..797388f59 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -1059,6 +1059,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 |
