mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* template/fake.rb.in: get rid of embeding an absolute path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6113a5add0
commit
2527936cfc
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Jul 21 23:07:11 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* template/fake.rb.in: get rid of embeding an absolute path.
|
||||
|
||||
Wed Jul 21 15:22:17 2010 Evan Phoenix <evan@fallingsnow.net>
|
||||
|
||||
* lib/rubygems/custom_require.rb, gem_prelude.rb: Load code from
|
||||
|
|
|
@ -30,9 +30,10 @@ prehook = proc do |extmk|
|
|||
unless extmk
|
||||
config = RbConfig::CONFIG
|
||||
mkconfig = RbConfig::MAKEFILE_CONFIG
|
||||
mkconfig["top_srcdir"] = $top_srcdir = File.expand_path("@abs_top_srcdir@")
|
||||
builddir = File.expand_path(File.dirname(__FILE__))
|
||||
mkconfig["top_srcdir"] = $top_srcdir = File.expand_path("@top_srcdir@", builddir)
|
||||
mkconfig["rubyhdrdir"] = "$(top_srcdir)/include"
|
||||
mkconfig["builddir"] = config["builddir"] = File.expand_path(File.dirname(__FILE__))
|
||||
mkconfig["builddir"] = config["builddir"] = builddir
|
||||
config["rubyhdrdir"] = File.join(mkconfig["top_srcdir"], "include")
|
||||
mkconfig["libdir"] = config["libdir"] = mkconfig["topdir"]
|
||||
trace_var(:$ruby, posthook)
|
||||
|
|
Loading…
Reference in a new issue