Bläddra i källkod

fix regression in creation of ldso symlink

DESTDIR was wrongly included in the symlink contents.
Rich Felker 11 år sedan
förälder
incheckning
9ff8ed463c
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -157,7 +157,7 @@ $(DESTDIR)$(includedir)/%: include/%
 	$(INSTALL) -D -m 644 $< $@
 
 $(DESTDIR)$(LDSO_PATHNAME): $(DESTDIR)$(libdir)/libc.so
-	$(INSTALL) -D -l $< $@ || true
+	$(INSTALL) -D -l $(libdir)/libc.so $@ || true
 
 install-libs: $(ALL_LIBS:lib/%=$(DESTDIR)$(libdir)/%) $(if $(SHARED_LIBS),$(DESTDIR)$(LDSO_PATHNAME),)