瀏覽代碼

test_dlopen: Remove extra -lpthread from LD_FLAGS for dltest{2}

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@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Filippo Arcidiacono 16 年之前
父節點
當前提交
d67f6eb3ff
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      test/dlopen/Makefile.in

+ 2 - 2
test/dlopen/Makefile.in

@@ -10,8 +10,8 @@ CFLAGS_dltest    := -DLIBNAME="\"./libtest.so\""
 CFLAGS_dltest2   := -DLIBNAME="\"./libtest3.so\""
 CFLAGS_dltest2   := -DLIBNAME="\"./libtest3.so\""
 
 
 LDFLAGS_dlstatic := -ldl
 LDFLAGS_dlstatic := -ldl
-LDFLAGS_dltest   := -ldl -lpthread
-LDFLAGS_dltest2  := -ldl -lpthread
+LDFLAGS_dltest   := -ldl
+LDFLAGS_dltest2  := -ldl
 LDFLAGS_dlundef  := -ldl
 LDFLAGS_dlundef  := -ldl
 LDFLAGS_dlafk    := -ldl ./libafk.so -Wl,-rpath,.
 LDFLAGS_dlafk    := -ldl ./libafk.so -Wl,-rpath,.
 LDFLAGS_test1    := -ldl
 LDFLAGS_test1    := -ldl