From fab7ce3f5b4060bf62659e8b58529de4156b5a2f Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 31 May 2013 16:16:33 +0000 Subject: Link extra-libs consistently with libc and ld.so. --- dlfcn/Makefile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'dlfcn') diff --git a/dlfcn/Makefile b/dlfcn/Makefile index cf4428c30e..c2ebdcae61 100644 --- a/dlfcn/Makefile +++ b/dlfcn/Makefile @@ -117,14 +117,6 @@ $(objpfx)bug-atexit1.out: $(objpfx)bug-atexit1-lib.so $(objpfx)bug-atexit2: $(libdl) $(objpfx)bug-atexit2.out: $(objpfx)bug-atexit2-lib.so -LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh $(elfobjdir)/ld.so \ - $(common-objpfx)libc_nonshared.a +LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh $(objpfx)bug-atexit3: $(libdl) $(objpfx)bug-atexit3.out: $(objpfx)bug-atexit3-lib.so - - -# Depend on libc.so so a DT_NEEDED is generated in the shared objects. -# This ensures they will load libc.so for needed symbols if loaded by -# a statically-linked program that hasn't already loaded it. -$(objpfx)libdl.so: $(common-objpfx)libc.so $(common-objpfx)libc_nonshared.a \ - $(elfobjdir)/ld.so -- cgit 1.4.1