]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Sat, 7 Dec 2002 19:19:26 +0000 (19:19 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 7 Dec 2002 19:19:26 +0000 (19:19 +0000)
configure.in
servers/slapd/Makefile.in
servers/slapd/tools/Makefile.in

index 4a4eb66a0c2f68e42ea96db33c75d0d384691c7e..45a36c81a85b2601fd3fe560b14627e4e80826be 100644 (file)
@@ -579,6 +579,8 @@ TERMCAP_LIBS=
 TLS_LIBS=
 MODULES_LIBS=
 SLAPI_LIBS=
+LIBSLAPI=
+LIBSLAPITOOLS=
 AUTH_LIBS=
 
 SLAPD_SLP_LIBS=
@@ -2524,6 +2526,8 @@ if test "$ol_enable_slapi" != no ; then
        fi
        AC_CHECK_LIB(ltdl, lt_dlinit, [
                SLAPI_LIBS=-lltdl
+               LIBSLAPI=./libslapi.a
+               LIBSLAPITOOLS=../libslapi.a
                AC_DEFINE(HAVE_LIBLTDL,1,[define if you have libtool -ltdl])
        ],[AC_MSG_ERROR([could not locate libtool -lltdl])])
 
@@ -2878,6 +2882,8 @@ AC_SUBST(TERMCAP_LIBS)
 AC_SUBST(TLS_LIBS)
 AC_SUBST(MODULES_LIBS)
 AC_SUBST(SLAPI_LIBS)
+AC_SUBST(LIBSLAPI)
+AC_SUBST(LIBSLAPITOOLS)
 AC_SUBST(AUTH_LIBS)
 
 AC_SUBST(SLAPD_SLP_LIBS)
index fc369f5ae4b0cba7c86e5bb9b41619de8fdbb1ad..41b7d66164f654966172b949724abf8cbd5ba16b 100644 (file)
@@ -48,7 +48,7 @@ XLDFLAGS = $(MODULES_LDFLAGS)
 
 XLIBS = $(SLAPD_STATIC_DEPENDS) $(SLAPD_L)
 XXLIBS = $(LDBM_LIBS) $(SLAPD_LIBS) $(SECURITY_LIBS) $(LDIF_LIBS) $(LUTIL_LIBS)
-XXXLIBS = $(LTHREAD_LIBS) $(MODULES_LIBS) $(SLAPI_LIBS)
+XXXLIBS = $(LTHREAD_LIBS) $(MODULES_LIBS) $(SLAPI_LIBS) @LIBSLAPI@
 
 BUILD_OPT = "--enable-slapd"
 BUILD_SRV = @BUILD_SLAPD@
index f24883c7320fbc99015323e0e9edf7ff2017208c..37612083134e8e2b21f3f81a432cc90ea6de5399 100644 (file)
@@ -28,7 +28,7 @@ XXLIBS = $(SLAPD_LIBS) \
        $(LDBM_LIBS) $(SECURITY_LIBS) \
        $(LDIF_LIBS) $(LUTIL_LIBS)
 XXXLIBS = $(MODULES_LIBS) $(LTHREAD_LIBS) \
-       $(SLAPI_LIBS)
+       $(SLAPI_LIBS) @LIBSLAPITOOLS@
 
 STATIC_DEPENDS=@SLAPD_NO_STATIC@ ../libbackends.a