From 52ed8be98e0e4278b1ac26b10f05a7b58fbefbb8 Mon Sep 17 00:00:00 2001
From: Andreas Schwab <schwab@redhat.com>
Date: Thu, 1 Jul 2010 23:02:50 -0700
Subject: Fix dlfcn/Makefile cleanup

---
 dlfcn/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'dlfcn')

diff --git a/dlfcn/Makefile b/dlfcn/Makefile
index 2631d87..578bc3f 100644
--- a/dlfcn/Makefile
+++ b/dlfcn/Makefile
@@ -124,7 +124,7 @@ $(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
+LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh $(common-objpfx)libc_nonshared.a
 $(objpfx)bug-atexit3: $(libdl)
 $(objpfx)bug-atexit3.out: $(objpfx)bug-atexit3-lib.so
 
-- 
cgit v1.1