diff --git a/src/modules/db_mysql/Makefile b/src/modules/db_mysql/Makefile index fd09bfcce3f..c8b48f985de 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),)