Avoid reinstalling Math::Libm on Windows every time
This commit is contained in:
parent
af687a98e2
commit
e3b42cd21e
1 changed files with 1 additions and 1 deletions
2
Build.PL
2
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';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue