summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2010-04-15 17:34:57 +0100
committerPádraig Brady <P@draigBrady.com>2010-04-16 00:55:43 +0100
commit62dd4b63c5dc8c5ea37328f042c4ce4eaf41de9d (patch)
tree4fd72b4e556a191c9676b899f11debcbd6625f2d /src
parent3a1595a3fbb07c53ea920c969667f0346a10534c (diff)
downloadcoreutils-62dd4b63c5dc8c5ea37328f042c4ce4eaf41de9d.tar.xz
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. <danielg@teragram.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 44f12378c..20b306dbc 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.