Skip to content

Commit 6043a8f

Browse files
committed
update
1 parent e7f13c0 commit 6043a8f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile.PL

+5-1
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,11 @@ sub Configure {
447447

448448
if ($param eq 'version') {
449449
if ($str !~ /^8\./) {
450-
die "DBD::mysql requires MySQL 8.x for building. Version reported by $command: $str";
450+
if ($^O == "Windows") { # mysql_config doesn't work the same on Windows
451+
warn "DBD::mysql requires MySQL 8.x for building. Version reported by $command: $str";
452+
} else {
453+
die "DBD::mysql requires MySQL 8.x for building. Version reported by $command: $str";
454+
}
451455
}
452456
}
453457

0 commit comments

Comments
 (0)