summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-08-05 10:05:13 +0200
committerJim Meyering <meyering@redhat.com>2012-08-05 10:05:13 +0200
commitf1b85e3ca7265b3ced70f573fcfe02ce0ed6e189 (patch)
tree7747c741b7045d2eb66062b04c8885b05fde913c
parent3b8139e85f3a96dfefaba94d0764135376135ae8 (diff)
downloadcoreutils-f1b85e3ca7265b3ced70f573fcfe02ce0ed6e189.tar.xz
build: avoid sort link failure on Solaris 10
* src/Makefile.am (sort_LDADD): Sort uses euidaccess, which may require whatever library configure deemed necessary to resolve the eaccess function, but no one told sort to link with that library. (sort_LDADD): Add $(LIB_EACCESS).
-rw-r--r--src/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 309950559..896c90203 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -310,6 +310,7 @@ rm_LDADD += $(remove_LDADD)
# for eaccess, euidaccess
copy_LDADD += $(LIB_EACCESS)
remove_LDADD += $(LIB_EACCESS)
+sort_LDADD += $(LIB_EACCESS)
test_LDADD += $(LIB_EACCESS)
# for selinux use