From a6928d5102a89f152fe9d17abb26346dc8cefc9c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 14 Jul 2011 20:49:27 -0700 Subject: Fix remaining explicit uses of shlib.lds to use $(shlib-lds). --- elf/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'elf') diff --git a/elf/Makefile b/elf/Makefile index d418099..709b61d 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -178,7 +178,7 @@ install-others += $(inst_auditdir)/sotruss-lib.so install-bin-script += sotruss generated += sotruss CPPFLAGS-sotruss-lib = -DNOT_IN_libc -$(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os $(common-objpfx)shlib.lds +$(objpfx)sotruss-lib.so: $(objpfx)sotruss-lib.os $(build-module-asneeded) $(objpfx)sotruss-lib.so: $(common-objpfx)libc.so $(objpfx)ld.so \ $(common-objpfx)libc_nonshared.a @@ -355,6 +355,8 @@ endif # Command to link into a larger single relocatable object. reloc-link = $(LINK.o) -nostdlib -nostartfiles -r +$(objpfx)sotruss-lib.so: $(shlib-lds) + $(objpfx)dl-allobjs.os: $(all-rtld-routines:%=$(objpfx)%.os) $(reloc-link) -o $@ $^ -- cgit v1.1