aboutsummaryrefslogtreecommitdiff
path: root/elf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 354fbbc..9909476 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -43,14 +43,14 @@ generated = librtld.so dl-allobjs.so
install-others = $(slibdir)/$(rtld-installed-name)
install-bin = ldd
-# Make sure this is built in the `make lib' pass so it can be used
+# Make sure these things is built in the `make lib' pass so it can be used
# to run programs during the `make others' pass.
-subdir_lib: $(objpfx)ld.so
+lib-noranlib: $(objpfx)ld.so $(addprefix $(objpfx),$(extra-objs))
ifneq (,$(filter linux%,$(config-os)))
extra-objs += linux-compat.so
install-others += $(slibdir)/ld-linux.so.1
-subdir_lib: $(objpfx)ld-linux.so.1
+lib-noranlib: $(objpfx)ld-linux.so.1
endif
endif