From: Rich Felker Date: Fri, 24 Jun 2011 18:02:47 +0000 (-0400) Subject: use symlink rather than bogus linker script for libc.so X-Git-Tag: v0.7.11~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a654b0243b450379f94bd08a4e4e4306efbec3c0;p=oweals%2Fmusl.git use symlink rather than bogus linker script for libc.so the linker script caused a bogus DT_NEEDED entry --- 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/%)