maint: fix build on platforms that replace strsignal
authorPádraig Brady <P@draigBrady.com>
Thu, 15 Apr 2010 16:34:57 +0000 (17:34 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 15 Apr 2010 23:55:43 +0000 (00:55 +0100)
* 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. <danielg@teragram.com>
src/Makefile.am

index 44f1237..20b306d 100644 (file)
@@ -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.