aboutsummaryrefslogtreecommitdiff
path: root/net/openldap24-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/openldap24-server/Makefile')
-rw-r--r--net/openldap24-server/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index cd8c07e5eaea..34f5060d595e 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -247,6 +247,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extrapatch-Makefile.in
.if ${PORT_OPTIONS:MDYNAMIC_MODULES} || ${PORT_OPTIONS:MDYNAMIC_BACKENDS} || ${PORT_OPTIONS:MSLAPI}
LIB_DEPENDS+= libltdl.so:devel/libltdl
+LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --enable-modules
PLIST_SUB+= MODULES=""
.else