summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rules.mak5
1 files changed, 3 insertions, 2 deletions
diff --git a/Rules.mak b/Rules.mak
index 591178b38..bc02fb068 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -75,9 +75,10 @@ export MAJOR_VERSION MINOR_VERSION SUBLEVEL VERSION LC_ALL
LIBC := libc
SHARED_MAJORNAME := $(LIBC).so.$(MAJOR_VERSION)
-UCLIBC_LDSO_NAME := ld-uClibc
-ifeq ($(TARGET_ARCH),x86_64)
+ifneq ($(findstring $(TARGET_ARCH) , hppa64 ia64 mips64 powerpc64 s390x sh64 sparc64 x86_64 ),)
UCLIBC_LDSO_NAME := ld64-uClibc
+else
+UCLIBC_LDSO_NAME := ld-uClibc
endif
UCLIBC_LDSO := $(UCLIBC_LDSO_NAME).so.$(MAJOR_VERSION)
NONSHARED_LIBNAME := uclibc_nonshared.a