Ralf Wildenhues wrote:
> I don't dispute
> either that the module should be put into gnulib.  However, I'd like to
> avoid that gnulib ends up just dumping all needed libraries into one
> variable, forcing gnulib users to bite and link against them all or use
> $as_needed (whatever it's called): the choice whether it's useful or not
> should clearly be put to the package in question, not dictated by the
> gnulib modules.

I agree, and I propose to add a gnulib-tool option --all-libs, that
has the effect of adding all mentioned external libraries
  - to the dependencies of libgnu.la, if --libtool is used,
  - to the LIBS variable, if --libtool is not used.

Use of --as-needed will be possible, but not mandatory, if --all-libs
is used.

Objections?

Bruno


Reply via email to