1 fix EUMM 7.04_01 which comes with Perl 5.22.0
3 with static lib build, we cannot call _find_magic_vstring(),
4 which does a `require B;` and B is not a pure Perl module.
6 Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
8 --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/version/vpp.pm
9 +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker/version/vpp.pm
10 @@ -933,7 +933,7 @@ sub _un_vstring {
11 if ( length($value) >= 3 && $value !~ /[._]/
12 && _is_non_alphanumeric($value)) {
14 - if ( $] ge 5.008_001 ) {
15 + if ( $Config{usedl} && ( $] ge 5.008_001 ) ) {
16 $tvalue = _find_magic_vstring($value);
17 $value = $tvalue if length $tvalue;