From: Pádraig Brady Date: Thu, 15 Apr 2010 16:34:57 +0000 (+0100) Subject: maint: fix build on platforms that replace strsignal X-Git-Tag: v8.5~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=62dd4b63c5dc8c5ea37328f042c4ce4eaf41de9d;p=thirdparty%2Fcoreutils.git maint: fix build on platforms that replace strsignal * src/Makefile.am (kill_LDADD): Add $(LIBTHREAD) so that we link with the appropriate libraries to provide Thread Local Storage on platforms that replace strsignal (like AIX for example). Tested-by: Daniel Richard G. --- diff --git a/src/Makefile.am b/src/Makefile.am index 44f12378c0..20b306dbce 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -394,6 +394,9 @@ who_LDADD += $(GETADDRINFO_LIB) hostname_LDADD += $(GETHOSTNAME_LIB) uname_LDADD += $(GETHOSTNAME_LIB) +# for strsignal +kill_LDADD += $(LIBTHREAD) + $(PROGRAMS): ../lib/libcoreutils.a # Get the release year from ../lib/version-etc.c.