From e3b42cd21e3bd7770b492821a724bb233f7019df Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 24 Aug 2013 12:01:56 +0200 Subject: [PATCH] Avoid reinstalling Math::Libm on Windows every time --- Build.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build.PL b/Build.PL index 16951d7a9..8f4b53ffd 100644 --- a/Build.PL +++ b/Build.PL @@ -90,7 +90,7 @@ EOF system $cpanm, 'App::cpanminus'; # install the Windows-compatible Math::Libm - if ($^O eq 'MSWin32') { + if ($^O eq 'MSWin32' && !eval "use Math::Libm; 1") { system $cpanm, 'https://github.com/alexrj/Math-Libm/tarball/master'; }