提交 e3c56761 编写于 作者: P Peter Portante 提交者: Anthony Liguori

Remove extra pthread switch

  remove the extra pthread switch which might be there
  from the package config check for gthreads.
Signed-off-by: NPeter Portante <peter.portante@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 d10f9056
......@@ -2083,7 +2083,16 @@ else
for pthread_lib in $PTHREADLIBS_LIST; do
if compile_prog "" "$pthread_lib" ; then
pthread=yes
LIBS="$pthread_lib $LIBS"
found=no
for lib_entry in $LIBS; do
if test "$lib_entry" = "$pthread_lib"; then
found=yes
break
fi
done
if test "$found" = "no"; then
LIBS="$pthread_lib $LIBS"
fi
break
fi
done
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册