Skip to content
Snippets Groups Projects
Commit 08710f80 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fix previous commit

parent d1970663
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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@
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment