Module: sip-router
Branch: master
Commit: d0858edd95726117d2ccc9567b9f7bf012204448
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d0858ed…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Jun 30 15:54:42 2011 +0200
db_mysql: search also for mysql_config5 in Makefile
- on some OSes, the mysql_config tool might have the name mysql_config5
---
modules/db_mysql/Makefile | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/db_mysql/Makefile b/modules/db_mysql/Makefile
index d71ca94..6c7c01c 100644
--- a/modules/db_mysql/Makefile
+++ b/modules/db_mysql/Makefile
@@ -14,6 +14,9 @@ DEFS +=-DSER_MOD_INTERFACE
ifeq ($(CROSS_COMPILE),)
MYSQLCFG=$(shell which mysql_config)
+ifeq ($(MYSQLCFG),)
+MYSQLCFG=$(shell which mysql_config5)
+endif
endif
ifneq ($(MYSQLCFG),)