Project

General

Profile

Actions

Backport #7115

closed

[[Ruby 1.9:]] fix rbconfig for --enable-load-relative

Added by mpapis (Michal Papis) over 11 years ago. Updated over 11 years ago.

Status:
Closed
[ruby-core:47866]

Description

continuation of http://bugs.ruby-lang.org/issues/6903

I have prepared a patch that:

  • fixes detection of lib64
  • replaces all occurrences of /prefix/ with "$(prefix)"

So ruby after allocation is still functional, including relative paths for compilation gem native extensions.

https://github.com/wayneeseguin/rvm/blob/master/patches/ruby/1.9.3/ruby-multilib.patch#L64-102


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #7172: [[Ruby 1.9:]] fix rbconfig for --enable-load-relative (v2)Closednobu (Nobuyoshi Nakada)10/16/2012Actions
Actions #1

Updated by nobu (Nobuyoshi Nakada) over 11 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport193
  • Status changed from Open to Assigned
  • Assignee set to usa (Usaku NAKAMURA)
Actions #2

Updated by usa (Usaku NAKAMURA) over 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r37155.
Michal, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


merge revision(s) 36847,36873: [Backport #7115]

* configure.in (LIBDIR_BASENAME): use configured libdir value to fix
  --enable-load-relative on systems where libdir is not default value,
  overridden in config.site files.  [ruby-core:47267] [Bug #6903]

* ruby.c (ruby_init_loadpath_safe): ditto.
Actions

Also available in: Atom PDF

Like0
Like0Like0