about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-08-31 11:36:56 -0400
committerRich Felker <dalias@aerifal.cx>2013-08-31 11:36:56 -0400
commit9ff8ed463caa86cb5e81419d8eb3bfb56e90f03c (patch)
tree68e274188e667eeded83917aa92dda34b4c4faae /Makefile
parent7cc49f98a2b5346259d2209ba14d7c18959f9369 (diff)
downloadmusl-9ff8ed463caa86cb5e81419d8eb3bfb56e90f03c.tar.gz
musl-9ff8ed463caa86cb5e81419d8eb3bfb56e90f03c.tar.xz
musl-9ff8ed463caa86cb5e81419d8eb3bfb56e90f03c.zip
fix regression in creation of ldso symlink
DESTDIR was wrongly included in the symlink contents.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aa5aee8f..7ac58d48 100644
--- a/Makefile
+++ b/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),)