From: Jeremy Kerr Date: Tue, 3 Dec 2013 11:26:13 +0000 (+1100) Subject: toolchain: Allow ld64.so linker X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb6dd8f49b28f16ca8114ec00d368ed8d0931329;p=buildroot.git 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 Signed-off-by: Anton Blanchard Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk index a8944ce0f6..faa9d90745 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; \