Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 127235

Summary: dev-lang/ruby: respect LDFLAGS
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: Ebuild patches

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.