(libdl.so): Pass $(LDFLAGS.so).

This commit is contained in:
Roland McGrath 1995-07-06 18:28:32 +00:00
parent e7233b09e9
commit 1f4a4317e1

View File

@ -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)%=%)