changeset 2373:77cd6da06def

Fix possible infinite loop in dependency generation.
author Jonathan Schleifer <js-audacious@webkeks.org>
date Sun, 10 Feb 2008 10:29:56 +0100
parents 3799c5a932a9
children 179821cb7dca
files buildsys.mk.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/buildsys.mk.in	Sun Feb 10 10:23:20 2008 +0100
+++ b/buildsys.mk.in	Sun Feb 10 10:29:56 2008 +0100
@@ -94,7 +94,7 @@
 	regen=0; \
 	test -f .deps || regen=1; \
 	for i in ${SRCS}; do test $$i -nt .deps && regen=1; done; \
-	if test x"$$regen" = x"1"; then \
+	if test x"$$regen" = x"1" -a x"${DEPS}" != "x"; then \
 		${DEPEND_STATUS}; \
 		rm -f .deps; \
 		if ${MAKE} ${MFLAGS} ${DEPS}; then \