[git commit master] test_dlopen: Remove extra -lpthread from LD_FLAGS for dltest{2}

Filippo Arcidiacono filippo.arcidiacono at st.com
Fri Apr 23 14:31:55 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=6ae3f8363f4ceac618c3b85a65e7c05e7c00076b
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

dltest and dltest2 do not refer any symbols implemented
in pthread library, so do not explicitly link them with pthread.
It is required only for the shared objects that are loaded
via dlopen by those tests.

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono at st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
---
 test/dlopen/Makefile.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/dlopen/Makefile.in b/test/dlopen/Makefile.in
index 5d4d2fb..22190d9 100644
--- a/test/dlopen/Makefile.in
+++ b/test/dlopen/Makefile.in
@@ -10,8 +10,8 @@ CFLAGS_dltest    := -DLIBNAME="\"./libtest.so\""
 CFLAGS_dltest2   := -DLIBNAME="\"./libtest3.so\""
 
 LDFLAGS_dlstatic := -ldl
-LDFLAGS_dltest   := -ldl -lpthread
-LDFLAGS_dltest2  := -ldl -lpthread
+LDFLAGS_dltest   := -ldl
+LDFLAGS_dltest2  := -ldl
 LDFLAGS_dlundef  := -ldl
 LDFLAGS_dlafk    := -ldl ./libafk.so -Wl,-rpath,.
 LDFLAGS_test1    := -ldl
-- 
1.6.3.3



More information about the uClibc-cvs mailing list