summaryrefslogtreecommitdiff
path: root/libutil/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-18 08:45:53 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-18 08:45:53 +0000
commitc35cde1edbe9d3375ed880fe8bb7d0fffba2f000 (patch)
tree8eb890508a7c6f00aeaa035dbb23a687e0a4cae4 /libutil/Makefile
parent5305b3df0ac3b6970947180fa9b2fcad0b6e6364 (diff)
Make shared libs properly list the correct ld.so in the interp
field by being sneaky.
Diffstat (limited to 'libutil/Makefile')
-rw-r--r--libutil/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libutil/Makefile b/libutil/Makefile
index 7ed8239e2..919772ec1 100644
--- a/libutil/Makefile
+++ b/libutil/Makefile
@@ -52,7 +52,8 @@ $(OBJS): %.o : %.c
shared: all
$(LD) $(LDFLAGS) -soname=$(LIBUTIL_SHARED).$(MAJOR_VERSION) \
-o $(LIBUTIL_SHARED_FULLNAME) --whole-archive $(LIBUTIL) \
- --no-whole-archive -L$(TOPDIR)/lib -lc;
+ --no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \
+ -L$(TOPDIR)/lib -lc;
install -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(LIBUTIL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBUTIL_SHARED).$(MAJOR_VERSION)
install -m 644 $(LIBUTIL_SHARED_FULLNAME) $(TOPDIR)lib/;