Avoid reinstalling Math::Libm on Windows every time

This commit is contained in:
Alessandro Ranellucci 2013-08-24 12:01:56 +02:00
parent af687a98e2
commit e3b42cd21e

View File

@ -90,7 +90,7 @@ EOF
system $cpanm, 'App::cpanminus'; system $cpanm, 'App::cpanminus';
# install the Windows-compatible Math::Libm # 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'; system $cpanm, 'https://github.com/alexrj/Math-Libm/tarball/master';
} }