Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden committed Nov 1, 2023
1 parent e7f13c0 commit 6043a8f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,11 @@ sub Configure {

if ($param eq 'version') {
if ($str !~ /^8\./) {
die "DBD::mysql requires MySQL 8.x for building. Version reported by $command: $str";
if ($^O == "Windows") { # mysql_config doesn't work the same on Windows
warn "DBD::mysql requires MySQL 8.x for building. Version reported by $command: $str";
} else {
die "DBD::mysql requires MySQL 8.x for building. Version reported by $command: $str";
}
}
}

Expand Down

0 comments on commit 6043a8f

Please sign in to comment.