db.mysql: add support for the FreeBSD name of the mariadb client library (#20039)

This commit is contained in:
Kim Shrier 2023-11-30 06:32:44 -07:00 committed by GitHub
parent 60cdc6a728
commit 7357ef3686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,12 @@ module mysql
$if $pkgconfig('mysqlclient') {
#pkgconfig mysqlclient
#include <mysql.h> # Please install the libmysqlclient-dev development headers
} $else {
} $else $if $pkgconfig('mariadb') {
#pkgconfig mariadb
#include <mysql.h> # Please install the libmariadb-dev development headers
} $else $if $pkgconfig('libmariadb') {
#pkgconfig libmariadb
#include <mysql.h> # Please install the mariadb client
} $else {
#include <mysql.h> # Please install the mysql headers
}