]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
libtextstyle: Document the link options more precisely.
authorBruno Haible <bruno@clisp.org>
Thu, 14 Feb 2019 02:13:29 +0000 (03:13 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 14 Feb 2019 02:13:29 +0000 (03:13 +0100)
* libtextstyle/doc/libtextstyle.texi (Link options): Document the link
dependencies.

libtextstyle/doc/libtextstyle.texi

index cec0193ce356c255a90c5b821750795b69222b87..209fef9c502a524073ff952613fe8ec9ba072cac 100644 (file)
@@ -538,7 +538,11 @@ locations, or @code{-L@var{libdir} -ltextstyle -Wl,-rpath,@var{libdir}}
 for a shared library installed in other locations (assuming a GCC
 compatible compiler and linker and no @code{libtool}), or
 @code{-L@var{libdir} -ltextstyle -R@var{libdir}} for a shared library
-installed in other locations (with @code{libtool}).
+installed in other locations (with @code{libtool}).  Additionally, the
+link options may need to include the dependencies: @code{-lm}, and
+@code{-lncurses} or (on NetBSD) @code{-ltermcap} or (on AIX)
+@code{-lxcurses} or (on HP-UX) @code{-lcurses}, and on some systems also
+@code{-liconv}.
 
 It is a bit complicated to determine the right link options in a portable
 way.  Therefore an Autoconf macro is provided in the file