localename: Fix link dependencies.
authorBruno Haible <bruno@clisp.org>
Sun, 5 Jun 2011 14:18:23 +0000 (16:18 +0200)
committerIan Beckwith <ianb@erislabs.net>
Thu, 9 Jun 2011 23:38:19 +0000 (00:38 +0100)
* modules/localename (Link): Mention $(LIBTHREAD) or $(LTLIBTHREAD).
* modules/localename-tests (Makefile.am): Link test-localename with
$(LIBTHREAD).
(cherry picked from commit 1866b237156399f7ec44bf09ad1512bf4099bca7)

ChangeLog
modules/localename
modules/localename-tests

index 754cfa2..623e536 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-06-05  Bruno Haible  <bruno@clisp.org>
 
+       localename: Fix link dependencies.
+       * modules/localename (Link): Mention $(LIBTHREAD) or $(LTLIBTHREAD).
+       * modules/localename-tests (Makefile.am): Link test-localename with
+       $(LIBTHREAD).
+
+2011-06-05  Bruno Haible  <bruno@clisp.org>
+
        unsetenv: Avoid gcc warning.
        * lib/unsetenv.c (unsetenv): Provide declaration if system lacks it.
 
index 165de35..b6b62e7 100644 (file)
@@ -23,6 +23,7 @@ Include:
 
 Link:
 @INTL_MACOSX_LIBS@
+$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise
 
 License:
 LGPLv2+
index 3b53c6c..f7633f0 100644 (file)
@@ -14,5 +14,5 @@ AC_CHECK_FUNCS_ONCE([newlocale])
 Makefile.am:
 TESTS += test-localename
 check_PROGRAMS += test-localename
-test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@
+test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@ $(LIBTHREAD)