mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-02 20:10:11 -05:00
ITS#10391 - Reactivate "-mt" for pthread support on HP-UX (and Solaris)
HP-UX, along with Solaris, requires this compiler and linker flag to pass proper macros and add required libraries.
This commit is contained in:
parent
7929b3ee77
commit
eec5edd984
1 changed files with 2 additions and 2 deletions
|
|
@ -1338,7 +1338,7 @@ case $ol_with_threads in auto | yes | posix)
|
|||
dnl pthread_create() in $LIBS
|
||||
dnl
|
||||
dnl Check special pthread (final) flags
|
||||
dnl [skipped] pthread_create() with -mt (Solaris) [disabled]
|
||||
dnl pthread_create() with -mt (Solaris/HP-UX)
|
||||
dnl pthread_create() with -kthread (FreeBSD)
|
||||
dnl pthread_create() with -pthread (FreeBSD/Digital Unix)
|
||||
dnl pthread_create() with -pthreads (?)
|
||||
|
|
@ -1376,7 +1376,7 @@ case $ol_with_threads in auto | yes | posix)
|
|||
ol_link_pthreads=""
|
||||
fi
|
||||
|
||||
dnl OL_PTHREAD_TRY([-mt], [ol_cv_pthread_mt])
|
||||
OL_PTHREAD_TRY([-mt], [ol_cv_pthread_mt])
|
||||
OL_PTHREAD_TRY([-kthread], [ol_cv_pthread_kthread])
|
||||
OL_PTHREAD_TRY([-pthread], [ol_cv_pthread_pthread])
|
||||
OL_PTHREAD_TRY([-pthreads], [ol_cv_pthread_pthreads])
|
||||
|
|
|
|||
Loading…
Reference in a new issue