[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: LDADD/LIBADD doc
From: |
Alexandre Duret-Lutz |
Subject: |
Re: FYI: LDADD/LIBADD doc |
Date: |
Sun, 02 Feb 2003 12:40:42 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) |
>>> "Akim" == Akim Demaille <address@hidden> writes:
adl> Automake uses `LIBADD' for any kind of libraries. This fixes
adl> the manual which used to say `LDADD' was also for shared libraries.
Akim> What is the point of having two syntaxes now?
Akim> Can't they be just aliases?
I wondered about this too. There is a global `LDADD' variable
that is used for programs without specific `_LDADD' variables,
but there is no global `LIBADD' for libraries without `_LIBADD'
variables. (I'm not sure a global `LIBADD' would make sense.)
If we unify `_LDADD' and `_LIBADD' variables, we have to do
something about `LDADD'. Using the global `LDADD' for libraries
seems wrong to me (because people use LDADD to list some
libraries they have built), and restricting it to programs
while supporting `_LDADD' for libraries looks awkward :(
--
Alexandre Duret-Lutz