about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--elf/Makefile2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a69eef3987..8d976e4aa3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1998-02-16  Ulrich Drepper  <drepper@cygnus.com>
 
+	* elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
+	on $(rtld-ldscript).
+
 	* sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
 	starting from 0 not only from `from'.
 	Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
diff --git a/elf/Makefile b/elf/Makefile
index 739c230608..f45f7b0321 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -106,7 +106,7 @@ $(rtld-ldscript): $(rtld-ldscript-in) $(rtld-parms)
 	    -e 's#@@rtld-base@@#$(rtld-base)#' $< >$@
 endif
 
-$(objpfx)ld.so: $(objpfx)librtld.os $(objpfx)rtld-ldscript
+$(objpfx)ld.so: $(objpfx)librtld.os $(addprefix $(objpfx),$(rtld-ldscript))
 	$(rtld-link) -Wl,-soname=$(rtld-installed-name)
 
 define rtld-link