From: Kurt Zeilenga Date: Fri, 23 May 2003 06:27:38 +0000 (+0000) Subject: Partially fix slapi builds, still have undefined references X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~63 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=703444febd877d403bc16d297a0d10f1339c2e20;p=openldap Partially fix slapi builds, still have undefined references --- diff --git a/configure b/configure index dcc0cf6047..281111522a 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # $OpenLDAP$ -# from OpenLDAP: pkg/ldap/configure.in,v 1.476 2003/05/23 03:22:44 kurt Exp +# from OpenLDAP: pkg/ldap/configure.in,v 1.477 2003/05/23 03:27:34 kurt Exp # Copyright 1998-2003 The OpenLDAP Foundation. All Rights Reserved. # @@ -23009,7 +23009,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 SLAPI_LIBS=-lltdl - LIBSLAPI=./libslapi.a + LIBSLAPI=libslapi.a LIBSLAPITOOLS=../libslapi.a cat >> confdefs.h <<\EOF #define HAVE_LIBLTDL 1 diff --git a/configure.in b/configure.in index 294af04c2c..fc360fabc4 100644 --- a/configure.in +++ b/configure.in @@ -2507,7 +2507,7 @@ if test "$ol_enable_slapi" != no ; then fi AC_CHECK_LIB(ltdl, lt_dlinit, [ SLAPI_LIBS=-lltdl - LIBSLAPI=./libslapi.a + 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])]) diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in index 45f3ccad9c..5c9dc42ad7 100644 --- a/servers/slapd/Makefile.in +++ b/servers/slapd/Makefile.in @@ -230,7 +230,7 @@ libslapi.a: .slapi (cd slapi; $(MAKE) $(MFLAGS) all) cp slapi/.libs/libslapi.a . -.slapi: $(SLAPD_OBJECTS) +.slapi: FORCE $(AR) ruv slapi/libtmpslapd.a $(OBJS) (cd slapi; $(MAKE) $(MFLAGS) all)