use symlink rather than bogus linker script for libc.so

the linker script caused a bogus DT_NEEDED entry
This commit is contained in:
Rich Felker 2011-06-24 14:02:47 -04:00
parent ec05a0b08f
commit a654b0243b
1 changed files with 2 additions and 2 deletions

View File

@ -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/%)