diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | make_ext.pl | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -102,6 +102,7 @@ Andy Dougherty <doughera@lafayette.edu> Andy Lester <andy@petdance.com> Anno Siegel <anno4000@lublin.zrz.tu-berlin.de> Anthony David <adavid@netinfo.com.au> +Anthony Heading <anthony@ajrh.net> Anton Berezin <tobez@tobez.org> Anton Nikishaev <me@lelf.lu> Anton Tagunov <tagunov@motor.ru> diff --git a/make_ext.pl b/make_ext.pl index a67e894ef6..29e88a933f 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -445,8 +445,8 @@ EOM # the Makefile.PL. Altering the atime and mtime backwards by 4 # seconds seems to resolve the issue. eval { - my $ftime = time - 4; - utime $ftime, $ftime, 'Makefile.PL'; + my $ftime = (stat('Makefile.PL'))[9] - 4; + utime $ftime, $ftime, 'Makefile.PL'; }; } elsif ($mname =~ /\A(?:Carp |ExtUtils::CBuilder |