mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fake.rb: Set prefix to $topdir
Not to refer outside the top build directory from rbconfig.
This commit is contained in:
parent
289a4cf672
commit
7f4345639b
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ prehook = proc do |extmk|
|
|||
RbConfig.fire_update!("builddir", builddir)
|
||||
RbConfig.fire_update!("buildlibdir", builddir)
|
||||
RbConfig.fire_update!("libdir", builddir)
|
||||
RbConfig.fire_update!("prefix", $topdir)
|
||||
RbConfig.fire_update!("top_srcdir", $top_srcdir ||= top_srcdir)
|
||||
RbConfig.fire_update!("extout", $extout)
|
||||
RbConfig.fire_update!("rubyhdrdir", "$(top_srcdir)/include")
|
||||
|
|
Loading…
Add table
Reference in a new issue