Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127235 - dev-lang/ruby: respect LDFLAGS
Summary: dev-lang/ruby: respect LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2006-03-22 14:03 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-08-09 21:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild patches (ruby-ebuild.patch,594 bytes, patch)
2006-03-22 14:04 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-22 14:03:40 UTC
The attached patch applied over the current ebuild make sure that ruby respects LDFLAGS as set by user.
With this, also the ruby extensions uses the same LDFLAGS, too (maybe this is not that good, but at least it's an improvement, and follow the same ways of perl).

Note: -Bdirect linking is likely to be useful with dlopening stuff like ruby :)

HTH,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-22 14:04:11 UTC
Created attachment 82888 [details, diff]
Ebuild patches
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-28 14:25:27 UTC
I've added a more complex patch now, as -Bdirect breaks when passed to LDFLAGS, but works as extensions' flag.