mysql: fix compilation with libmariadb-dev, but no libmysqlclient-dev installed
parent
76ff708cf8
commit
0401b5ece0
|
@ -4,8 +4,8 @@ module mysql
|
||||||
|
|
||||||
$if $pkgconfig('mysqlclient') {
|
$if $pkgconfig('mysqlclient') {
|
||||||
#pkgconfig mysqlclient
|
#pkgconfig mysqlclient
|
||||||
|
#include <mysql/mysql.h> # Please install the libmysqlclient-dev development headers
|
||||||
} $else {
|
} $else {
|
||||||
#pkgconfig mariadb
|
#pkgconfig mariadb
|
||||||
|
#include <mariadb/mysql.h> # Please install the libmariadb-dev development headers
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <mysql/mysql.h> # Please install the mysqlclient development headers
|
|
||||||
|
|
Loading…
Reference in New Issue