diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-05-16 20:14:45 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-05-16 20:14:45 +0000 |
commit | 0ad1b4fdd341cae5283b21257711e1ab71097b8c (patch) | |
tree | 4f388c27fedd2d39e1bc236f702a322c6b19a788 /Rules.mak | |
parent | 51116eca39a0d9b78919fd85b7ae9d24a4efbc96 (diff) |
Fix up a few little problems
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 |