util/add-depends.pl: add the possibility for debug printouts
authorRichard Levitte <levitte@openssl.org>
Thu, 15 Mar 2018 19:37:39 +0000 (20:37 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 16 Mar 2018 08:33:53 +0000 (09:33 +0100)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5631)

util/add-depends.pl

index 31996c4edd89770aea85877bac7e2004d92f0b4e..67b69b0ac77d35b04915eb01845c2e2262d33b0b 100644 (file)
@@ -19,6 +19,7 @@ use File::Compare qw(compare_text);
 # data.  This doesn't affect the mtime field, so we're not losing anything...
 ${^WIN32_SLOPPY_STAT} = 1;
 
+my $debug = $ENV{ADD_DEPENDS_DEBUG};
 my $buildfile = $config{build_file};
 my $build_mtime = (stat($buildfile))[9];
 my $rebuild = 0;