Module: kamailio Branch: master Commit: 4f587124998e665c5ab9df7fe14cfbb3a39a9ec8 URL: https://github.com/kamailio/kamailio/commit/4f587124998e665c5ab9df7fe14cfbb3...
Author: Olle E. Johansson oej@edvina.net Committer: Olle E. Johansson oej@edvina.net Date: 2017-06-30T11:00:35+02:00
db_mysql Look for MariaDB as well as MySQL
---
Modified: src/modules/db_mysql/Makefile
---
Diff: https://github.com/kamailio/kamailio/commit/4f587124998e665c5ab9df7fe14cfbb3... Patch: https://github.com/kamailio/kamailio/commit/4f587124998e665c5ab9df7fe14cfbb3...
---
diff --git a/src/modules/db_mysql/Makefile b/src/modules/db_mysql/Makefile index fd09bfcce3..c8b48f985d 100644 --- a/src/modules/db_mysql/Makefile +++ b/src/modules/db_mysql/Makefile @@ -16,6 +16,10 @@ MYSQLCFG=$(shell which mysql_config) ifeq ($(MYSQLCFG),) MYSQLCFG=$(shell which mysql_config5) endif +# If no Mysql - do we have MariaDB? +ifeq ($(MYSQLCFG),) +MYSQLCFG=$(shell which mariadb_config) +endif endif
ifneq ($(MYSQLCFG),)