summaryrefslogtreecommitdiff
path: root/ldso/libdl
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-04-26 16:12:47 +0000
committerEric Andersen <andersen@codepoet.org>2001-04-26 16:12:47 +0000
commitd13c6558a88b347301b620949aea496def2790af (patch)
treee1b997a3bfd521213f27b73ca11e5e56aff25990 /ldso/libdl
parent739ce2f15daa305794e3abf25e8bc92f798547f0 (diff)
Be more careful about not hard coding names.
Diffstat (limited to 'ldso/libdl')
-rw-r--r--ldso/libdl/.cvsignore2
-rw-r--r--ldso/libdl/Makefile5
2 files changed, 3 insertions, 4 deletions
diff --git a/ldso/libdl/.cvsignore b/ldso/libdl/.cvsignore
index db255ec94..fcdeee985 100644
--- a/ldso/libdl/.cvsignore
+++ b/ldso/libdl/.cvsignore
@@ -1,2 +1,2 @@
-libdl.so.0
+libdl.so*
diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile
index 3ebc7fea8..ca978231c 100644
--- a/ldso/libdl/Makefile
+++ b/ldso/libdl/Makefile
@@ -1,6 +1,5 @@
TOPDIR=../../
-include $(TOPDIR)Rules.mak
-include $(TOPDIR)/ld.so-1/Config.mk
+include $(TOPDIR)/ld.so-1/Rules.mak
CFLAGS += -DNO_UNDERSCORE -DVERBOSE_DLINKER -DUSE_CACHE
CFLAGS += #-fPIC -D__PIC__ #-funroll-loops
@@ -21,7 +20,7 @@ ELF_LDFLAGS=--shared -nostartfiles -nostdlib # using GNU ld
lib:: $(OBJS)
$(CC) $(ELF_LDFLAGS) \
-o $(LIBDL).$(LDSO_VMAJOR) -Wl,-soname -Wl,$(LIBDL).$(LDSO_VMAJOR) \
- *.o $(TOPDIR)uClibc-0.95.so
+ *.o $(TOPDIR)$(SHARED_FULLNAME)
obj: $(OBJS)