changeset 4264:49740df2ccca

Fix possible infinite loop in dependency generation.
author Jonathan Schleifer <js-audacious@webkeks.org>
date Sun, 10 Feb 2008 10:29:41 +0100
parents efb49258f4f0
children 7410b81a3362
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:21:33 2008 +0100
+++ b/buildsys.mk.in	Sun Feb 10 10:29:41 2008 +0100
@@ -95,7 +95,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 \