[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib-tool: support for LDFLAGS
From: |
Ralf Wildenhues |
Subject: |
Re: gnulib-tool: support for LDFLAGS |
Date: |
Fri, 8 Sep 2006 08:36:54 +0200 |
User-agent: |
Mutt/1.5.13 (2006-09-01) |
* 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
- gnulib-tool: support for LDFLAGS, Bruno Haible, 2006/09/06
- Re: gnulib-tool: support for LDFLAGS, Paul Eggert, 2006/09/08
- Re: gnulib-tool: support for LDFLAGS,
Ralf Wildenhues <=
- Re: gnulib-tool: support for LDFLAGS, Ralf Wildenhues, 2006/09/08
- Re: gnulib-tool: support for LDFLAGS, LIBDEPS and LTLIBDEPS, Bruno Haible, 2006/09/09
- Re: gnulib-tool: support for LDFLAGS, LIBDEPS and LTLIBDEPS, Ralf Wildenhues, 2006/09/10
- Re: gnulib-tool: support for LDFLAGS, LIBDEPS and LTLIBDEPS, Bruno Haible, 2006/09/11
- Re: *_LDFLAGS vs. *_LDADD vs. *_LIBADD, Bruno Haible, 2006/09/09
- Re: *_LDFLAGS vs. *_LDADD vs. *_LIBADD, Ralf Wildenhues, 2006/09/10
- Re: *_LDFLAGS vs. *_LDADD vs. *_LIBADD, Bruno Haible, 2006/09/11
- Re: *_LDFLAGS vs. *_LDADD vs. *_LIBADD, Ralf Wildenhues, 2006/09/13