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

Bug 276305

Summary: sci-libs/minuit is passing libraries through append-ldflags
Product: Gentoo Linux Reporter: Christian Ruppert (idl0r) <idl0r>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 226863    

Description Christian Ruppert (idl0r) gentoo-dev 2009-07-02 21:55:41 UTC
The reason is that LDFLAGS should _not_ be used for libraries, as it has to be
positioned before the list of objects to link together, while libraries should
go after.

This mistake in commandline is what causes as-needed to either fail or not
apply at all (if LDFLAGS are put at the end).

Please fix your package not to pass libraries through LDFLAGS.
Comment 1 S├ębastien Fabbro (RETIRED) gentoo-dev 2009-09-24 06:21:22 UTC
fixed in 5.24.00.