# HG changeset patch # User Bruno Haible # Date 1307283503 -7200 # Node ID b8de6a14a6d5eea79fa51acd250d53e05463ca88 # Parent 3b0e2e72c0a29da3c6e4a14d14cfbdf5da1cd4dd localename: Fix link dependencies. * modules/localename (Link): Mention $(LIBTHREAD) or $(LTLIBTHREAD). * modules/localename-tests (Makefile.am): Link test-localename with $(LIBTHREAD). diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-06-05 Bruno Haible + + 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 error: Avoid gcc warning. diff --git a/modules/localename b/modules/localename --- a/modules/localename +++ b/modules/localename @@ -23,6 +23,7 @@ Link: @INTL_MACOSX_LIBS@ +$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise License: LGPLv2+ diff --git a/modules/localename-tests b/modules/localename-tests --- a/modules/localename-tests +++ b/modules/localename-tests @@ -14,5 +14,5 @@ Makefile.am: TESTS += test-localename check_PROGRAMS += test-localename -test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@ +test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@ $(LIBTHREAD)