Browse Source

use symlink rather than bogus linker script for libc.so

the linker script caused a bogus DT_NEEDED entry
rs-1.0
Rich Felker 15 years ago
parent
commit
a654b0243b
  1. 4
      Makefile

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

Loading…
Cancel
Save