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
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.
This should take care of it..
+ 13 Oct 2009; Samuli Suominen <firstname.lastname@example.org> soprano-2.3.1.ebuild:
+ Change append-ldflags -lpthread to append-flags -pthread wrt #226889