[sr-dev] git:master:4f587124: db_mysql Look for MariaDB as well as MySQL

Olle E. Johansson oej at edvina.net
Fri Jun 30 11:00:47 CEST 2017


Module: kamailio
Branch: master
Commit: 4f587124998e665c5ab9df7fe14cfbb3a39a9ec8
URL: https://github.com/kamailio/kamailio/commit/4f587124998e665c5ab9df7fe14cfbb3a39a9ec8

Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at 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/4f587124998e665c5ab9df7fe14cfbb3a39a9ec8.diff
Patch: https://github.com/kamailio/kamailio/commit/4f587124998e665c5ab9df7fe14cfbb3a39a9ec8.patch

---

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),)




More information about the sr-dev mailing list