diff options
-rw-r--r-- | Rules.mak | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |