summaryrefslogtreecommitdiff
path: root/ldso/libdl/Makefile
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/Makefile
parent739ce2f15daa305794e3abf25e8bc92f798547f0 (diff)
Be more careful about not hard coding names.
Diffstat (limited to 'ldso/libdl/Makefile')
-rw-r--r--ldso/libdl/Makefile5
1 files changed, 2 insertions, 3 deletions
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)