Skip to content

Commit eafc5c4

Browse files
committed
Warn that MariaDB's client library does not work
Debian no longer supplies libmysqlclient. It provides symlinks from mysql_config to mariadb_config. Unfortunately this gives us an unhelpful compilation error because we are using MySQL exclusive features.
1 parent 2dc77ad commit eafc5c4

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Makefile.PL

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,18 @@ assert_lib(
152152
LIBS => $opt->{libs},
153153
);
154154

155-
print "Looks good.\n\n";
155+
if ($opt->{libs} =~ /mariadb/) {
156+
print <<"MSG";
157+
158+
The chosen MySQL client library appears to be MariaDB's. Compilation may fail.
159+
Consider DBD::MariaDB.
160+
161+
162+
MSG
163+
}
164+
else {
165+
print "Looks good.\n\n";
166+
}
156167

157168
sleep 1;
158169

0 commit comments

Comments
 (0)