summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-01-05 02:04:12 +0100
committerunknown <jimw@mysql.com>2005-01-05 02:04:12 +0100
commitf89207c2e6cbec6e6bf2324a2f9af49bd59fd623 (patch)
tree8590ba5ae5393a4d9a2f0ae3c8443f538e24beb6 /scripts
parent55ace5fd44953f7751452fd4c2e9ed79a4bace44 (diff)
downloadmariadb-git-f89207c2e6cbec6e6bf2324a2f9af49bd59fd623.tar.gz
Make sure to include ZLIB_LIBS in mysql_config --libs_r (Bug #7021)
scripts/mysql_config.sh: include ZLIB_LIBS in --libs_r
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysql_config.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysql_config.sh b/scripts/mysql_config.sh
index 86cbe944416..79d8eef868b 100644
--- a/scripts/mysql_config.sh
+++ b/scripts/mysql_config.sh
@@ -88,7 +88,7 @@ client_libs='@CLIENT_LIBS@'
libs="$ldflags -L$pkglibdir -lmysqlclient $client_libs"
libs=`echo "$libs" | sed -e 's; \+; ;g' | sed -e 's;^ *;;' | sed -e 's; *\$;;'`
-libs_r="$ldflags -L$pkglibdir -lmysqlclient_r @LIBS@ @openssl_libs@"
+libs_r="$ldflags -L$pkglibdir -lmysqlclient_r @LIBS@ @ZLIB_LIBS@ @openssl_libs@"
libs_r=`echo "$libs_r" | sed -e 's; \+; ;g' | sed -e 's;^ *;;' | sed -e 's; *\$;;'`
cflags="-I$pkgincludedir @CFLAGS@ " #note: end space!
include="-I$pkgincludedir"