A few modules compute the link dependencies through an Autoconf macro,
but need also to consider other dependencies. This patch fixes them.


2019-01-04  Bruno Haible  <br...@clisp.org>

        Fix some 'Link' sections.
        * modules/c-stack (Link): Add link directive from the 'gettext-h'
        dependency.
        * modules/getaddrinfo (Link): Likewise.

diff --git a/modules/c-stack b/modules/c-stack
index dd303bd..ca2c208 100644
--- a/modules/c-stack
+++ b/modules/c-stack
@@ -28,6 +28,7 @@ Include:
 
 Link:
 $(LTLIBCSTACK) when linking with libtool, $(LIBCSTACK) otherwise
+$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
 
 License:
 GPL
diff --git a/modules/getaddrinfo b/modules/getaddrinfo
index 8de2955..195a24a 100644
--- a/modules/getaddrinfo
+++ b/modules/getaddrinfo
@@ -36,6 +36,7 @@ Include:
 
 Link:
 $(GETADDRINFO_LIB)
+$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise
 
 License:
 LGPLv2+


Reply via email to