Fix depend dependency for parallel make

This commit is contained in:
Howard Chu 2007-10-20 04:29:11 +00:00
parent 874ddbebe9
commit 38953e2f2c

View File

@ -132,7 +132,7 @@ $(LIBRARY): $(OBJS) version.lo
$(AR) rs $@ $(OBJS) $(AR) rs $@ $(OBJS)
# Must fixup depends for non-libtool objects # Must fixup depends for non-libtool objects
depend-local: depend-local: depend-common
@if test -n "$(OBJS)"; then \ @if test -n "$(OBJS)"; then \
OBJ2=`echo $(OBJS) $(OBJDEP) | $(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; \ SCR=''; for i in $$OBJ2; do SCR="$$SCR -e s/^$$i.lo:/$$i.o:/"; done; \