From ac1488b50d9a42fd3a98997372c470991aa85a74 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 23 Aug 2005 22:54:07 +0000 Subject: [PATCH] workaround ITS#3965; if anybody has a better solution... --- servers/slapd/overlays/Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5