diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meson.build b/meson.build index 62888727d..513a8da99 100644 --- a/meson.build +++ b/meson.build | |||
@@ -176,11 +176,13 @@ if ssh_bin.found() | |||
176 | endif | 176 | endif |
177 | 177 | ||
178 | # Optional dependencies | 178 | # Optional dependencies |
179 | mq_dep = dependency('libmysqlclient', required : false) | 179 | |
180 | if not mq_dep.found() | 180 | # FIXME: I think we wanted to retire mysql support |
181 | mq_dep = cc.find_library('mysqlclient', required : false) | 181 | my_dep = dependency('libmysqlclient', required : false) |
182 | if not my_dep.found() | ||
183 | my_dep = cc.find_library('mysqlclient', required : false) | ||
182 | endif | 184 | endif |
183 | if mq_dep.found() | 185 | if my_dep.found() |
184 | add_project_arguments('-DHAVE_MYSQL', language : 'c') | 186 | add_project_arguments('-DHAVE_MYSQL', language : 'c') |
185 | endif | 187 | endif |
186 | pq_dep = dependency('libpq', required : false) | 188 | pq_dep = dependency('libpq', required : false) |