Browse Source

[meson] fix libmariadb dependency

libmariadb is what should be used as only the library portion is used.

Fixes compilation under OpenWrt.

Note that mariadb.pc is a superset that links to libmariadb.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
personal/stbuehler/ci-build
Rosen Penev 1 year ago
committed by Glenn Strauss
parent
commit
04a7d98cb9
  1. 2
      src/meson.build

2
src/meson.build

@ -388,7 +388,7 @@ if get_option('with_mysql')
# manual search: extend include path with 'mysql/'
# header: mysql.h
# function: mysql_real_connect (-lmariadb)
libmysqlclient = [ dependency('mariadb') ]
libmysqlclient = [ dependency('libmariadb') ]
#-# function: mysql_real_connect (-lmysqlclient)
#-libmysqlclient = [ dependency('mysqlclient') ]
conf_data.set('HAVE_MYSQL', true)

Loading…
Cancel
Save