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.
Rather than just saying what is bad, can you please also document the correct way to add additional libraries please? This is the number 1 hit for a google search on this and I'm still no nearer to finding out how I *should* write the ebuild
Bugzilla is not a forums.
Beside, passing libraries depends on a per-package basis.
or ask on the gentoo dev help mailing list