Avoid reinstalling Math::Libm on Windows every time
This commit is contained in:
parent
af687a98e2
commit
e3b42cd21e
2
Build.PL
2
Build.PL
@ -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';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user