From aa5ae4841e74c0fb94c0b9513cd93e5f24d12d4b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 26 Jun 2003 11:58:02 +0000 Subject: [PATCH] Only remove old files if they exist. [Maing32]. Notified by Michael Gerdau --- util/pl/Mingw32.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/pl/Mingw32.pl b/util/pl/Mingw32.pl index d0472df278..b76b7afd27 100644 --- a/util/pl/Mingw32.pl +++ b/util/pl/Mingw32.pl @@ -85,7 +85,7 @@ sub do_lib_rule ($Name=$name) =~ tr/a-z/A-Z/; $ret.="$target: \$(${Name}OBJ)\n"; - $ret.="\t\$(RM) $target\n"; + $ret.="\tif exist $target \$(RM) $target\n"; $ret.="\t\$(MKLIB) $target \$(${Name}OBJ)\n"; $ret.="\t\$(RANLIB) $target\n\n"; } -- 2.40.0