We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9d4976 commit 58bba59Copy full SHA for 58bba59
Makefile.PL
@@ -15,6 +15,7 @@ use File::Path;
15
use File::Copy;
16
use File::Basename;
17
use File::Spec;
18
+use version 0.77;
19
require DBI::DBD;
20
21
my $TESTDB = "test";
@@ -314,6 +315,7 @@ if (eval $ExtUtils::MakeMaker::VERSION >= 5.43) {
314
315
'Data::Dumper' => 0,
316
'Devel::CheckLib' => '1.09',
317
'ExtUtils::MakeMaker' => 0,
318
+ 'version' => '0.77',
319
},
320
);
321
}
@@ -447,7 +449,7 @@ sub Configure {
447
449
448
450
451
if ($param eq 'version') {
- if ($str !~ /^[89]\./) {
452
+ if (version->parse($str) < version->parse("8.0.0")) {
453
die "DBD::mysql requires MySQL 8.x or newer for building. Version reported by $command: $str";
454
455
0 commit comments