summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-12-03 11:26:13 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-12-03 12:11:27 (GMT)
commitfb6dd8f49b28f16ca8114ec00d368ed8d0931329 (patch)
treec859f66a6f7255e9ac2e0648d8f4d98e1ef9c66a
parentc37dd482c84d59ac574053efdead4e2ccc5d221e (diff)
downloadbuildroot-fb6dd8f49b28f16ca8114ec00d368ed8d0931329.tar.gz
buildroot-fb6dd8f49b28f16ca8114ec00d368ed8d0931329.tar.bz2
toolchain: Allow ld64.so linker
The glibc dynamic linkers for ppc64 and s390x are named ld64.so.* so modify the check_glibc test to match them. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Anton Blanchard <anton@samba.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--toolchain/helpers.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
index a8944ce..faa9d90 100644
--- a/toolchain/helpers.mk
+++ b/toolchain/helpers.mk
@@ -204,7 +204,7 @@ check_glibc_rpc_feature = \
#
check_glibc = \
SYSROOT_DIR="$(strip $1)"; \
- if test `find $${SYSROOT_DIR}/ -maxdepth 2 -name 'ld-linux*.so.*' -o -name 'ld.so.*' | wc -l` -eq 0 ; then \
+ if test `find $${SYSROOT_DIR}/ -maxdepth 2 -name 'ld-linux*.so.*' -o -name 'ld.so.*' -o -name 'ld64.so.*' | wc -l` -eq 0 ; then \
echo "Incorrect selection of the C library"; \
exit -1; \
fi; \