Commit fb35befa authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

Fixes windows build with new MS AD sync Add CLIENT_LIBS for libraries required...

Fixes windows build with new MS AD sync Add CLIENT_LIBS for libraries required to build the clients.
parent d3b1558d
......@@ -156,6 +156,8 @@ INCLUDEDIR= $(top_srcdir)/include
LDAP_INCPATH= -I$(LDAP_INCDIR) -I$(INCLUDEDIR)
LDAP_LIBDIR= $(top_builddir)/libraries
CLIENT_LIBS = @CLIENT_LIBS@
LUTIL_LIBS = @LUTIL_LIBS@
LTHREAD_LIBS = @LTHREAD_LIBS@
......
......@@ -26,7 +26,7 @@ LDAP_LIBDIR= ../../libraries
MKVOPTS = -s
XLIBS = $(LDAP_L)
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS) $(CLIENT_LIBS)
XSRCS = ldsversion.c ldmversion.c lddversion.c ldrversion.c ldpversion.c \
ldwversion.c ldvversion.c ldcversion.c ldeversion.c lduversion.c
......
......@@ -539,6 +539,8 @@ SLAPD_NDB_INCS=
LTHREAD_LIBS=
LUTIL_LIBS=
CLIENT_LIBS=
SLAPD_LIBS=
BUILD_SLAPD=no
......@@ -1101,6 +1103,7 @@ if test $have_uuid = no ; then
]])],[need_rpcrt=yes],[need_rpcrt=no])
if test $need_rpcrt = yes; then
SLAPD_LIBS="$SLAPD_LIBS -lrpcrt4"
CLIENT_LIBS="$CLIENT_LIBS -lrpcrt4"
fi
LIBS="$save_LIBS"
AC_MSG_RESULT($need_rpcrt)
......@@ -3179,6 +3182,7 @@ dnl overlays
AC_SUBST(BUILD_VALSORT)
AC_SUBST(LDAP_LIBS)
AC_SUBST(CLIENT_LIBS)
AC_SUBST(SLAPD_LIBS)
AC_SUBST(BDB_LIBS)
AC_SUBST(SLAPD_NDB_LIBS)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment