From 1f4a4317e1bafb185a22951f7921af4f9673811e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 6 Jul 1995 18:28:32 +0000 Subject: [PATCH] (libdl.so): Pass $(LDFLAGS.so). --- elf/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elf/Makefile b/elf/Makefile index e0ae40b9fd..b0923b2b6d 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -51,4 +51,5 @@ $(objpfx)ld.so: $(rtld-routines:%=$(objpfx)%.so) \ $(objpfx)libdl.so: $(objpfx)libdl_pic.a $(common-objpfx)libc.so $(objpfx)ld.so $(patsubst %/,cd %;,$(objpfx)) \ $(LINK.o) -shared -o $(@:$(objpfx)%=%) \ - $(LDFLAGS-dl.so) -Wl,--whole-archive $(^:$(objpfx)%=%) + $(LDFLAGS.so) $(LDFLAGS-dl.so) \ + -Wl,--whole-archive $(^:$(objpfx)%=%)