From c35cde1edbe9d3375ed880fe8bb7d0fffba2f000 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 18 Feb 2002 08:45:53 +0000 Subject: Make shared libs properly list the correct ld.so in the interp field by being sneaky. --- libm/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libm/Makefile') diff --git a/libm/Makefile b/libm/Makefile index 3cd82d686..e9cdf47df 100644 --- a/libm/Makefile +++ b/libm/Makefile @@ -94,8 +94,9 @@ shared: all @if [ -f $(LIBM) ] ; then \ set -x -e; \ $(LD) $(LDFLAGS) -soname=$(LIBM_SHARED).$(MAJOR_VERSION) \ - -o $(LIBM_SHARED_FULLNAME) --whole-archive $(LIBM) \ - --no-whole-archive -L$(TOPDIR)/lib -lc; \ + -o $(LIBM_SHARED_FULLNAME) --whole-archive $(LIBM) \ + --no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \ + -L$(TOPDIR)/lib -lc; \ install -d $(TOPDIR)lib; \ rm -f $(TOPDIR)lib/$(LIBM_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBM_SHARED).$(MAJOR_VERSION); \ install -m 644 $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib; \ -- cgit v1.2.3