mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
mysql: always use #include <mysql.h>
, rely on pkgconfig to get the correct include folder
This commit is contained in:
parent
008d15dcb5
commit
e45cd02029
@ -4,8 +4,8 @@ module mysql
|
||||
|
||||
$if $pkgconfig('mysqlclient') {
|
||||
#pkgconfig mysqlclient
|
||||
#include <mysql/mysql.h> # Please install the libmysqlclient-dev development headers
|
||||
#include <mysql.h> # Please install the libmysqlclient-dev development headers
|
||||
} $else {
|
||||
#pkgconfig mariadb
|
||||
#include <mariadb/mysql.h> # Please install the libmariadb-dev development headers
|
||||
#include <mysql.h> # Please install the libmariadb-dev development headers
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user