diff --git a/libraries/libldap/Makefile.in b/libraries/libldap/Makefile.in index 95989f1605..fc72c4e021 100644 --- a/libraries/libldap/Makefile.in +++ b/libraries/libldap/Makefile.in @@ -29,7 +29,7 @@ LDAP_INCDIR= ../../include LDAP_LIBDIR= ../../libraries XLIBS = -lldap -llber -XXLIBS = +XXLIBS = $(KRB_LIBS) apitest: $(LIBRARY) apitest.o $(LDAP_LIBLBER_DEPEND) $(LTLINK) $(LDFLAGS) -o $@ apitest.o $(LIBS) diff --git a/libraries/libldap_r/Makefile.in b/libraries/libldap_r/Makefile.in index d59597689b..4a150ab462 100644 --- a/libraries/libldap_r/Makefile.in +++ b/libraries/libldap_r/Makefile.in @@ -32,7 +32,7 @@ LDAP_LIBDIR= ../../libraries XDEFS = -DLDAP_R_COMPILE -I$(XXDIR) XLIBS = -lldap_r -llber -XXLIBS = $(LUTIL_LIBS) +XXLIBS = $(LUTIL_LIBS) $(KRB_LIBS) XXXLIBS = $(LTHREAD_LIBS) .links :