Bug #4594
closedDon't depend on extension automagic
Description
Extensions in ruby are built automatically by what is found at compile time, this is bad as dependencies won't be tracked w.r.t package managers (yum, etc).
Also ext/Setup as per README reads as if extensions are built based on what is defined in ext/Setup (and logically what should happen), doesn't happen
4. Remove comment mark(#) before the module names from ext/Setup (or
add module names if not present), if you want to link modules
statically.
If you don't want to compile non static extension modules
(probably on architectures which does not allow dynamic loading),
remove comment mark from the line "#option nodynamic" in
ext/Setup.
Updated by naruse (Yui NARUSE) almost 13 years ago
Nathan McSween wrote:
Extensions in ruby are built automatically by what is found at compile time, this is bad as dependencies won't be tracked w.r.t package managers (yum, etc).
If package managers want to manage ruby's bundled extension libraries, split them by package managers.
The NetBSD Packages Collection (pkgsrc) does it.
Updated by naruse (Yui NARUSE) almost 13 years ago
- Status changed from Open to Rejected