Ondrej Valousek wrote: > Why don't we solve the linker problem with the "--as-needed" option? This > will make linker clever enough not to link libraries that are not needed.
'--as-needed' is a can of worms in itself. In GNU gettext (IIRC) Debian used '--as-needed' in the link command line, and together with libtool that reorders the elements of the command line, it had ill effects. More generally, Gnulib should help GNU packages and integrate into the package's build system the best it can. It should *not* force specifies ways of doing onto the package's build system. Bruno