bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* Typo in relocatable-maint.texi?
@ 2021-04-09 20:49 Reuben Thomas
  2021-04-12 19:10 ` Typo in gnulib-tool.texi? Bruno Haible
  0 siblings, 1 reply; 2+ messages in thread
From: Reuben Thomas @ 2021-04-09 20:49 UTC (permalink / raw)
  To: bug-gnulib

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

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?

-- 
https://rrt.sc3d.org

[-- Attachment #2: Type: text/html, Size: 1191 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Typo in gnulib-tool.texi?
  2021-04-09 20:49 Typo in relocatable-maint.texi? Reuben Thomas
@ 2021-04-12 19:10 ` Bruno Haible
  0 siblings, 0 replies; 2+ messages in thread
From: Bruno Haible @ 2021-04-12 19:10 UTC (permalink / raw)
  To: bug-gnulib; +Cc: Reuben Thomas

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
 



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-12 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 20:49 Typo in relocatable-maint.texi? Reuben Thomas
2021-04-12 19:10 ` Typo in gnulib-tool.texi? Bruno Haible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).