aboutsummaryrefslogtreecommitdiff
path: root/net/openldap2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/openldap2/Makefile')
-rw-r--r--net/openldap2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openldap2/Makefile b/net/openldap2/Makefile
index dd23b9feb994..795d65429e76 100644
--- a/net/openldap2/Makefile
+++ b/net/openldap2/Makefile
@@ -41,7 +41,7 @@ CONFIGURE_ARGS+= --enable-wrappers
.endif
# math.h uses _REENTRANT and stdio.h uses _THREAD_SAFE, so define both.
-CPPFLAGS+= -D_REENTRANT -D_THREAD_SAFE \
+CPPFLAGS+= -D_REENTRANT ${PTHREAD_CFLAGS} \
-I${LOCALBASE}/include \
-I${LOCALBASE}/include/db3
LDFLAGS+= -L${LOCALBASE}/lib