mirror of
https://github.com/vlang/v.git
synced 2025-08-03 17:57:59 -04:00
db.mysql: add support for the FreeBSD name of the mariadb client library (#20039)
This commit is contained in:
parent
60cdc6a728
commit
7357ef3686
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user