mirror of
https://github.com/coturn/coturn.git
synced 2025-10-24 12:31:00 +02:00
configure: support MariaDB Connector/C
If libmariadb is installed from the MariaDB server package, the pc file is "mariadb.pc". But when MariaDB Connector/C is used, it's actually "libmariadb.pc". This commit adds the latter to the detection. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
a6e304ce34
commit
10c91c65a3
2
configure
vendored
2
configure
vendored
@ -945,7 +945,7 @@ fi
|
||||
###########################
|
||||
|
||||
if [ -z "${TURN_NO_MYSQL}" ] ; then
|
||||
if testpkg_db mariadb || testpkg_db mysqlclient || test_mysql_config; then
|
||||
if testpkg_db libmariadb || testpkg_db mariadb || testpkg_db mysqlclient || test_mysql_config; then
|
||||
${ECHO_CMD} "MySQL found."
|
||||
else
|
||||
${ECHO_CMD} "MySQL not found. Building without MySQL support."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user