Skip to content

Commit

Permalink
WIP: Debug failures on embedded server
Browse files Browse the repository at this point in the history
  • Loading branch information
choroba committed Jan 11, 2025
1 parent 3dcd5e6 commit 633a7e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ my $have_embedded = check_lib(
ldflags => (join ' ', @libdirs, @libs, @ldflags),
header => \@mysql_headers,
function => 'return mysql_embedded() ? 0 : 1;',
debug => 1,
);

print "Embedded server: " . ($have_embedded ? "supported" : "not supported by client library") . "\n\n";
Expand Down Expand Up @@ -850,6 +851,7 @@ sub Configure {
header => \@mysql_headers,
function => $function,
not_execute => 1,
debug => 1,
) or next;
}
# and now create executable and do real version check
Expand All @@ -859,6 +861,7 @@ sub Configure {
ccflags => $opt->{cflags},
header => \@mysql_headers,
function => $function,
debug => 1,
) or next;
$str .= ' ' . $add_ldflags if defined $add_ldflags;
$check_passed = 1;
Expand Down

0 comments on commit 633a7e2

Please sign in to comment.