summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorvva@eagle.mysql.r18.ru <>2003-11-15 19:37:54 -0400
committervva@eagle.mysql.r18.ru <>2003-11-15 19:37:54 -0400
commit24413c7d8cf42fca6be3d885a9516585929676d9 (patch)
tree801856548762fcfd62043ae892e890c20326ac28 /scripts
parent0b7ccfa882e56e009f0dd0d19bf9db423123d8e0 (diff)
downloadmariadb-git-24413c7d8cf42fca6be3d885a9516585929676d9.tar.gz
fixed bug #1650 "mysql_config --libmysqd-libs misses libwrap"
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am1
-rw-r--r--scripts/mysql_config.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index e846976eceb..d14d7f38deb 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -114,6 +114,7 @@ SUFFIXES = .sh
-e 's!@''LDFLAGS''@!@SAVE_LDFLAGS@!'\
-e 's!@''CLIENT_LIBS''@!@CLIENT_LIBS@!' \
-e 's!@''LIBS''@!@LIBS@!' \
+ -e 's!@''WRAPLIBS''@!@WRAPLIBS@!' \
-e 's!@''innodb_system_libs''@!@innodb_system_libs@!' \
-e 's!@''openssl_libs''@!@openssl_libs@!' \
-e 's!@''VERSION''@!@VERSION@!' \
diff --git a/scripts/mysql_config.sh b/scripts/mysql_config.sh
index 6b543bf4a07..051f3fa9c14 100644
--- a/scripts/mysql_config.sh
+++ b/scripts/mysql_config.sh
@@ -92,7 +92,7 @@ libs_r="$ldflags -L$pkglibdir -lmysqlclient_r @LIBS@ @openssl_libs@"
libs_r=`echo "$libs_r" | sed -e 's; \+; ;g' | sed -e 's;^ *;;' | sed -e 's; *\$;;'`
cflags="-I$pkgincludedir @CFLAGS@"
include="-I$pkgincludedir"
-embedded_libs="$ldflags -L$pkglibdir -lmysqld @LIBS@ @innodb_system_libs@"
+embedded_libs="$ldflags -L$pkglibdir -lmysqld @LIBS@ @WRAPLIBS@ @innodb_system_libs@"
embedded_libs=`echo "$embedded_libs" | sed -e 's; \+; ;g' | sed -e 's;^ *;;' | sed -e 's; *\$;;'`
# Remove some options that a client doesn't have to care about