summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-21 23:41:23 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-21 23:41:23 +0000
commite9da7cba6e6977ba2a93773608b300ac753e7704 (patch)
treec04d6098cb98d972d31c6ce1fe471e79ab909f7b /Rules.mak
parent822e4896c1072b9f84b17f4f7bcb7c51d1a57723 (diff)
rename ldso on all 64bit hosts
Diffstat (limited to 'Rules.mak')
-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