From a654b0243b450379f94bd08a4e4e4306efbec3c0 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 24 Jun 2011 14:02:47 -0400 Subject: [PATCH] use symlink rather than bogus linker script for libc.so the linker script caused a bogus DT_NEEDED entry --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 277aa00a..ff3d9778 100644 --- a/Makefile +++ b/Makefile @@ -107,8 +107,8 @@ $(DESTDIR)$(includedir)/%: include/% $(DESTDIR)/lib/ld-musl-$(ARCH).so.1: lib/ld-musl-$(ARCH).so.1 install -D -m 755 $< $@ -$(DESTDIR)$(libdir)/libc.so: $(DESTDIR)/lib/ld-musl-$(ARCH).so.1 - echo 'GROUP ( /lib/ld-musl-$(ARCH).so.1 )' > $@ +$(DESTDIR)$(libdir)/libc.so: lib/ld-musl-$(ARCH).so.1 + ln -sf /lib/ld-musl-$(ARCH).so.1 $@ .PRECIOUS: $(CRT_LIBS:lib/%=crt/%)