Backport #7115

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

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



continuation of

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.

Related issues

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

Updated by nobu (Nobuyoshi Nakada) over 7 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)

Updated by usa (Usaku NAKAMURA) over 7 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]

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

* ruby.c (ruby_init_loadpath_safe): ditto.

Also available in: Atom PDF