Bug 226871 - app-laptop/macbook-backlight: append-ldflags is used to pass libraries
Bug#: 226871 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cedk@gentoo.org Reported By: flameeyes@gentoo.org
Component: Ebuilds
URL: 
Summary: app-laptop/macbook-backlight: append-ldflags is used to pass libraries
Keywords:  
Status Whiteboard: 
Opened: 2008-06-14 18:10 0000
Description:   Opened: 2008-06-14 18:10 0000
I've made append-ldflags throw a warning when libraries are passed through it
to link them in.

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 From Cédric Krier 2008-06-14 18:22:49 0000 -------
Fix in cvs