bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Typo in gnulib-tool.texi?


From: Bruno Haible
Subject: Re: Typo in gnulib-tool.texi?
Date: Mon, 12 Apr 2021 21:10:55 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-206-generic; KDE/5.18.0; x86_64; ; )

Hi Reuben,

> In the following text, describing how to use multiple gnulib installations:
> 
>    Correspondingly for the programs you will have to add something like
> this:
> 
>      ...
>      AM_CPPFLAGS = -I$(top_srcdir)/src/gnulib -I$(top_builddir)/src/gnulib
>      ...
>      LIBADD = $(top_builddir)/src/gnulib/libgnutools.la
> 
> should LIBADD be LDADD, since we're talking here about building a program,
> not a library?

Right. Thanks for the report. Fixed:


2021-04-12  Bruno Haible  <bruno@clisp.org>

        doc: Fix confusion between LIBADD and LDADD.
        Reported by Reuben Thomas <rrt@sc3d.org> in
        <https://lists.gnu.org/archive/html/bug-gnulib/2021-04/msg00102.html>.
        * doc/gnulib-tool.texi (Multiple instances): For programs, use LDADD,
        not LIBADD.

diff --git a/doc/gnulib-tool.texi b/doc/gnulib-tool.texi
index 97881f1..465bb42 100644
--- a/doc/gnulib-tool.texi
+++ b/doc/gnulib-tool.texi
@@ -715,7 +715,7 @@ this:
 ...
 AM_CPPFLAGS = -I$(top_srcdir)/src/gnulib -I$(top_builddir)/src/gnulib
 ...
-LIBADD = $(top_builddir)/src/gnulib/libgnutools.la
+LDADD = $(top_builddir)/src/gnulib/libgnutools.la
 ...
 @end example
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]