12 lines
407 B
V
12 lines
407 B
V
module mysql
|
|
|
|
// Need to check if mysqlclient is not there and use mariadb as alternative because newer system doesn't support mysql 8.0 as default
|
|
|
|
$if $pkgconfig('mysqlclient') {
|
|
#pkgconfig mysqlclient
|
|
#include <mysql/mysql.h> # Please install the libmysqlclient-dev development headers
|
|
} $else {
|
|
#pkgconfig mariadb
|
|
#include <mariadb/mysql.h> # Please install the libmariadb-dev development headers
|
|
}
|