[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LIBS or LDLIBS ?
From: |
Sébastien Hinderer |
Subject: |
Re: LIBS or LDLIBS ? |
Date: |
Thu, 14 Jan 2021 12:56:42 +0100 |
Hi,
Kaz Kylheku (gmake) (2021/01/14 03:37 -0800):
> On 2021-01-14 02:45, Sébastien Hinderer wrote:
> > Dear autoconf and make users,
>
> I suspect mailing list cross-posting doesn't work well in an
> age in which mailing lists don't accept postings from non-subscribers
> due to the spam problem.
I'm subscribed to both lists, so I was expecting my mail to reach both
of them. I did realise that the responses of people on one list wouldn't
be seen on the other one, if thosepeople were not subscribed to both
lists.
> > The status of the LIBS and LDLIBS variables is unclear to me.
> >
> > Do both of them have a conventional meanings, or are they just
> > alternatives for the same thing, namely giving libraries that should be
> > passed to the ld linker?
> >
> > ./configure --help refers to LIBS but in make's manual it's LDLIBS which
> > is mentionned and the GNU coding standard at
> > https://www.gnu.org/prep/standards/html_node/index.html does not help...
>
> The GNU make manual is clear about this:
[...]
Did you read my question properly?
I mentionned the *LIBS* variable. Try to run ./configure --help, you'll
see what I mean.
My question is: between LIBS and LDLIBS, which one is a build system
supposed to honour?
Sébastien.