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.
dev-libs/libxml is deprecated, so it would be nice if we could phase this out. The following packages seem to still depend on it:
glame has dependencies on both libxml and libxml2, so that seems fishy, perhaps the libxml dependency is no longer needed there. The latest version of omni has been ported to use libxml2.
Feel free to motivate the phase out.. Until that happens, email@example.com doesn't need to be on this bug.
I just fixed it for now.