changeset 15308:c8d55ba25f39

configure: Make sure MYSQL_LIBS has -lmysqlclient even if it's not explicitly found.
author Timo Sirainen <tss@iki.fi>
date Fri, 12 Oct 2012 23:05:43 +0300
parents a79e1a0040de
children 0262ede193e5
files configure.in
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Fri Oct 12 08:48:25 2012 +0300
+++ b/configure.in	Fri Oct 12 23:05:43 2012 +0300
@@ -2175,6 +2175,7 @@
   AC_CHECK_PROG(MYSQL_CONFIG, mysql_config, mysql_config, NO)
   if test $MYSQL_CONFIG = NO; then
 	# based on code from PHP
+	MYSQL_LIBS="-lmysqlclient -lz -lm"
 	for i in /usr /usr/local /usr/local/mysql; do
 		for j in include include/mysql ""; do
 			if test -r "$i/$j/mysql.h"; then