Avoid reinstalling Math::Libm on Windows every time

xsdata-boost
Alessandro Ranellucci 2013-08-24 12:01:56 +02:00
parent af687a98e2
commit e3b42cd21e
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}