Browse Source

use symlink rather than bogus linker script for libc.so

the linker script caused a bogus DT_NEEDED entry
Rich Felker 14 years ago
parent
commit
a654b0243b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Makefile

+ 2 - 2
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/%)