about summary refs log tree commit diff
path: root/dlfcn/Makefile
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2010-12-24 18:30:26 +0100
committerAndreas Schwab <schwab@redhat.com>2011-08-22 10:55:32 +0200
commit87162f462e8189943ee723b9bcff71269df2310d (patch)
tree5932849fb13a481f8c9751624dbc68ffadb94999 /dlfcn/Makefile
parent91b392a4bab0c2dc90e7e3ff914dec20b97adca8 (diff)
downloadglibc-87162f462e8189943ee723b9bcff71269df2310d.tar.gz
glibc-87162f462e8189943ee723b9bcff71269df2310d.tar.xz
glibc-87162f462e8189943ee723b9bcff71269df2310d.zip
Fix testsuite link failure
Diffstat (limited to 'dlfcn/Makefile')
-rw-r--r--dlfcn/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index 578bc3ffe3..dd4fb83dd5 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -124,7 +124,8 @@ $(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 $(common-objpfx)libc_nonshared.a
+LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh $(elfobjdir)/ld.so \
+			    $(common-objpfx)libc_nonshared.a
 $(objpfx)bug-atexit3: $(libdl)
 $(objpfx)bug-atexit3.out: $(objpfx)bug-atexit3-lib.so