Rather than appending to the final LDFLAGS, add it to the head, this way packages that use LDFLAGS="-lfoo" will still work with --as-needed. This fixes hsetroot build, at least.
Rather than appending to the final LDFLAGS, add it to the head, this way packages that use LDFLAGS="-lfoo" will still work with --as-needed. This fixes hsetroot build, at least.