From: Bruno Haible Date: Sun, 5 Jun 2011 14:18:23 +0000 (+0200) Subject: localename: Fix link dependencies. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1866b237156399f7ec44bf09ad1512bf4099bca7;p=pspp 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 index 54373d39fb..f6db6cb1ee 100644 --- 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 index 165de35241..b6b62e7808 100644 --- a/modules/localename +++ b/modules/localename @@ -23,6 +23,7 @@ Include: Link: @INTL_MACOSX_LIBS@ +$(LTLIBTHREAD) when linking with libtool, $(LIBTHREAD) otherwise License: LGPLv2+ diff --git a/modules/localename-tests b/modules/localename-tests index 3b53c6c148..f7633f03b9 100644 --- a/modules/localename-tests +++ b/modules/localename-tests @@ -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)