From: Pierangelo Masarati Date: Mon, 7 Apr 2003 09:33:10 +0000 (+0000) Subject: fix tools build when SLAPI is enabled X-Git-Tag: AUTOCONF_2_57~26 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=45d77aea2ed15542c8192a11271723e4cf1f485d;p=openldap fix tools build when SLAPI is enabled --- diff --git a/servers/slapd/tools/Makefile.in b/servers/slapd/tools/Makefile.in index e33a31a83e..534c80094f 100644 --- a/servers/slapd/tools/Makefile.in +++ b/servers/slapd/tools/Makefile.in @@ -27,8 +27,8 @@ XLIBS = $(SLAPD_L) $(LDBM_LIBS) XXLIBS = $(SLAPD_LIBS) \ $(LDBM_LIBS) $(SECURITY_LIBS) \ $(LDIF_LIBS) $(LUTIL_LIBS) -XXXLIBS = $(LTHREAD_LIBS) $(SLAPI_LIBS) \ - @LIBSLAPITOOLS@ $(MODULES_LIBS) +XXXLIBS = $(LTHREAD_LIBS) +SLAPI_DEP_LIBS = $(LIBS) $(SLAPI_LIBS) @LIBSLAPITOOLS@ $(MODULES_LIBS) STATIC_DEPENDS=@SLAPD_NO_STATIC@ ../libbackends.a @@ -58,13 +58,16 @@ build-progs: $(PROGRAMS) # SLAP Tools # slapadd: slapadd.o $(STATIC_DEPENDS) $(SLAPOBJS) $(SLAPD_L) - $(LTLINK) -o $@ slapadd.o $(SLAPOBJS) $(STATIC_DEPENDS) $(LIBS) + $(LTLINK) -o $@ slapadd.o $(SLAPOBJS) $(STATIC_DEPENDS) \ + $(SLAPI_DEP_LIBS) slapcat: slapcat.o $(STATIC_DEPENDS) $(SLAPOBJS) $(SLAPD_L) - $(LTLINK) -o $@ slapcat.o $(SLAPOBJS) $(STATIC_DEPENDS) $(LIBS) + $(LTLINK) -o $@ slapcat.o $(SLAPOBJS) $(STATIC_DEPENDS) \ + $(SLAPI_DEP_LIBS) slapindex: slapindex.o $(STATIC_DEPENDS) $(SLAPOBJS) $(SLAPD_L) - $(LTLINK) -o $@ slapindex.o $(SLAPOBJS) $(STATIC_DEPENDS) $(LIBS) + $(LTLINK) -o $@ slapindex.o $(SLAPOBJS) $(STATIC_DEPENDS) \ + $(SLAPI_DEP_LIBS) slappasswd: slappasswd.o $(SLAPD_L) $(LTLINK) -o $@ slappasswd.o $(LIBS)