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 2dc77adCopy full SHA for 2dc77ad
Makefile.PL
@@ -15,6 +15,8 @@ use File::Path;
15
use File::Copy;
16
use File::Basename;
17
use File::Spec;
18
+use version 0.77;
19
+
20
require DBI::DBD;
21
22
my $TESTDB = "test";
@@ -314,6 +316,7 @@ if (eval $ExtUtils::MakeMaker::VERSION >= 5.43) {
314
316
'Data::Dumper' => 0,
315
317
'Devel::CheckLib' => '1.09',
318
'ExtUtils::MakeMaker' => 0,
319
+ 'version' => '0.77',
320
},
321
);
322
}
@@ -447,7 +450,7 @@ sub Configure {
447
450
448
451
449
452
if ($param eq 'version') {
- if ($str !~ /^[89]\./) {
453
+ if (version->parse($str) < version->parse("8.0.0")) {
454
die "DBD::mysql requires MySQL 8.x or newer for building. Version reported by $command: $str";
455
456
0 commit comments