mirror of https://github.com/python/cpython
Patch 527434: Avoid double inclusion of thread.o on Sol2.8.
This commit is contained in:
parent
ff0a7b8ca2
commit
3d2b549d56
11
configure.in
11
configure.in
|
@ -1133,10 +1133,13 @@ pthread_create (NULL, NULL, start_routine, NULL)], [
|
||||||
LIBS="$LIBS -lmpc"
|
LIBS="$LIBS -lmpc"
|
||||||
LIBOBJS="$LIBOBJS thread.o"
|
LIBOBJS="$LIBOBJS thread.o"
|
||||||
USE_THREAD_MODULE=""])
|
USE_THREAD_MODULE=""])
|
||||||
AC_CHECK_LIB(thread, thr_create, [AC_DEFINE(WITH_THREAD)
|
|
||||||
LIBS="$LIBS -lthread"
|
if test $posix_threads != "yes"; then
|
||||||
LIBOBJS="$LIBOBJS thread.o"
|
AC_CHECK_LIB(thread, thr_create, [AC_DEFINE(WITH_THREAD)
|
||||||
USE_THREAD_MODULE=""])
|
LIBS="$LIBS -lthread"
|
||||||
|
LIBOBJS="$LIBOBJS thread.o"
|
||||||
|
USE_THREAD_MODULE=""])
|
||||||
|
fi
|
||||||
|
|
||||||
if test "$USE_THREAD_MODULE" != "#"
|
if test "$USE_THREAD_MODULE" != "#"
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue