From: Pierangelo Masarati Date: Tue, 23 Aug 2005 22:54:07 +0000 (+0000) Subject: workaround ITS#3965; if anybody has a better solution... X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~597 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ac1488b50d9a42fd3a98997372c470991aa85a74;p=openldap workaround ITS#3965; if anybody has a better solution... --- diff --git a/servers/slapd/overlays/Makefile.in b/servers/slapd/overlays/Makefile.in index 02be3d119a..e1caea4dc0 100644 --- a/servers/slapd/overlays/Makefile.in +++ b/servers/slapd/overlays/Makefile.in @@ -32,6 +32,10 @@ SRCS = overlays.c \ OBJS = overlays.o \ @SLAPD_STATIC_OVERLAYS@ +# Add here the objs that are needed by overlays, but do not make it +# into SLAPD_STATIC_OVERLAYS... +OBJDEP=rwm.o rwmconf.o rwmdn.o rwmmap.o + LTONLY_MOD = $(LTONLY_mod) LDAP_INCDIR= ../../../include LDAP_LIBDIR= ../../../libraries @@ -120,7 +124,7 @@ $(LIBRARY): $(OBJS) version.lo # Must fixup depends for non-libtool objects depend-local: @if test -n "$(OBJS)"; then \ - OBJ2=`echo $(OBJS) | $(SED) -e 's/\.o//g'`; \ + OBJ2=`echo $(OBJS) $(OBJDEP) | $(SED) -e 's/\.o//g'`; \ SCR=''; for i in $$OBJ2; do SCR="$$SCR -e s/^$$i.lo:/$$i.o:/"; done; \ mv Makefile Makefile.bak; $(SED) $$SCR Makefile.bak > Makefile && \ $(RM) Makefile.bak; fi