diff options
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -70,16 +70,19 @@ endif LDSO_PRESENT=$(strip $(shell cd $(TOPDIR)/ldso/d-link; ls -d $(TARGET_ARCH) 2>/dev/null)) +# NOTE: This may need to be modified for your system ifeq ($(NATIVE_ARCH), $(TARGET_ARCH)) - SYSTEM_LDSO=$(shell ldd `which $(CC)` | sed -ne /ld/p | sed -e s/\ =.*//g) + SYSTEM_LDSO=$(strip $(shell ldd `which $(CC)` | sed -ne /ld/p | sed -e s/\ =.*//g)) else SYSTEM_LDSO=/lib/ld-linux.so.2 endif ifeq ($(LDSO_PRESENT), $(TARGET_ARCH)) LDSO=$(TOPDIR)lib/$(UCLIBC_LDSO) + DYNAMIC_LINKER=/lib/$(UCLIBC_LDSO) else LDSO=$(SYSTEM_LDSO) + DYNAMIC_LINKER=$(SYSTEM_LDSO) endif |