* Paul Eggert wrote on Fri, Sep 08, 2006 at 08:21:39AM CEST:
> 
> OK to revert the patch?  I'm not sure why it was needed; the Automake
> 1.9.6 documentation talks about maude_LDFLAGS only for programs, not
> for libraries.

*_LDFLAGS are for libtool libraries and programs, but not for static
libraries.  Actually, you should not put `-l*' into LDFLAGS at all,
those belong into LIBS, *LDADD, or lib*_LIBADD (the latter being useful
for libtool libraries only).

I recommend that if libgnu.a needs symbols from other libraries, then it
should provide a macro $(LIBGNULIB) or so, that programs can use to link
against, and that it should then contain those additional libraries.
This way, it is possible for the program to link against shared
libraries of those; instead pulling archive members of, say, libiconv.a,
into libgnu.a seems rather ugly to me.  (If that's what you're doing
currently, that is.)

Cheers,
Ralf


Reply via email to