mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#3772 fix dependencies for static overlays
This commit is contained in:
parent
2cc3190c62
commit
63f6e91a97
@ -106,6 +106,14 @@ MKDEPFLAG = -l
|
||||
.c.lo:
|
||||
$(LTCOMPILE_MOD) $<
|
||||
|
||||
$(LIBRARY): version.lo
|
||||
$(LIBRARY): $(OBJS) version.lo
|
||||
$(AR) rs $@ $(OBJS)
|
||||
|
||||
# Must fixup depends for non-libtool objects
|
||||
depend-local:
|
||||
@if test -n "$(OBJS)"; then \
|
||||
OBJ2=`echo $(OBJS) | $(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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user