summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-08-12 23:41:18 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-08-12 23:41:18 +0000
commit2044b626be8167235556d1fdda26da04c8daa204 (patch)
tree93c07642b4797a3491dbdef0ac899d52b5d2dec1 /Rules.mak
parent8d5946b7274b280ccecf576df86ac918392a4969 (diff)
Removed hardcoded ld-uClibc.so.0 in uClibc. From Peter Mazinger.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak8
1 files changed, 1 insertions, 7 deletions
diff --git a/Rules.mak b/Rules.mak
index 81de43dd0..12d047577 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -70,6 +70,7 @@ export MAJOR_VERSION MINOR_VERSION SUBLEVEL VERSION LC_ALL
SHARED_FULLNAME:=libuClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so
SHARED_MAJORNAME:=libc.so.$(MAJOR_VERSION)
UCLIBC_LDSO:=ld-uClibc.so.$(MAJOR_VERSION)
+DYNAMIC_LINKER:=$(SHARED_LIB_LOADER_PREFIX)/$(UCLIBC_LDSO)
LIBNAME:=libc.a
LIBC:=$(TOPDIR)libc/$(LIBNAME)
@@ -314,13 +315,6 @@ ifneq ($(DOASSERTS),y)
CFLAGS += -DNDEBUG
endif
-ifeq ($(HAVE_SHARED),y)
- ifeq ($(BUILD_UCLIBC_LDSO),y)
- LDSO:=$(TOPDIR)lib/$(UCLIBC_LDSO)
- DYNAMIC_LINKER:=$(SHARED_LIB_LOADER_PREFIX)/$(UCLIBC_LDSO)
- endif
-endif
-
CFLAGS_NOPIC:=$(CFLAGS)
ifeq ($(DOPIC),y)
CFLAGS += $(PICFLAG)