mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Add -DNO_THREAD comment for when there is no -lc_r
This commit is contained in:
parent
467f8157c3
commit
6e9a263fa4
@ -2,11 +2,10 @@
|
||||
# LDAP FreeBSD GNU C Make-platform file
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
# add any platform-specific overrides below here
|
||||
#
|
||||
EXTRACFLAGS=-O -g
|
||||
|
||||
LDBMBACKEND=-DLDBM_USE_DBBTREE
|
||||
LDBMINCLUDE=-I/usr/include
|
||||
|
||||
@ -19,7 +18,6 @@ LDAP_RUNDIR=/var/run
|
||||
MANCOMPRESS=gzip
|
||||
MANCOMPRESSSUFFIX=.gz
|
||||
|
||||
|
||||
#
|
||||
# LDAP has a problem with the idea of implicit vs. explicit yields
|
||||
# in call conversion threading packages, like the MIT pthreads
|
||||
@ -35,6 +33,11 @@ THREADS= -DPOSIX_THREADS -D_THREAD_SAFE -DPTHREAD_PREEMPTIVE
|
||||
THREADSLIB= -pthread
|
||||
#THREADSLIB= -lc_r
|
||||
|
||||
# if you built/installed with -DNOLIBC_R, you'll need uncomment
|
||||
# out the following
|
||||
#THREADS= -DNO_THREADS -DPTHREAD_PREEMPTIVE
|
||||
#THREADSLIB=
|
||||
|
||||
# crypt(3) is in a separate library
|
||||
LDAP_CRYPT_LIB= -lcrypt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user