mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Patch 527434: Avoid double inclusion of thread.o on Sol2.8.
This commit is contained in:
parent
ff0a7b8ca2
commit
3d2b549d56
2 changed files with 218 additions and 212 deletions
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…
Add table
Add a link
Reference in a new issue