aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile
index cd0f390..4f532d3 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -116,8 +116,7 @@ $(rtld-ldscript): $(rtld-ldscript-in) $(rtld-parms)
-e 's#@@rtld-base@@#$(rtld-base)#' $< >$@
endif
-$(objpfx)ld.so: $(objpfx)librtld.os $(addprefix $(objpfx),$(rtld-ldscript)) \
- $(ld-map)
+$(objpfx)ld.so: $(objpfx)librtld.os $(rtld-ldscript) $(ld-map)
$(LINK.o) -nostdlib -nostartfiles -shared -o $@ $(LDFLAGS-rtld) \
$(filter-out $(rtld-ldscript) $(map-file),$^) \
$(load-map-file) -Wl,-soname=$(rtld-installed-name)