diff options
author | unknown <vva@eagle.mysql.r18.ru> | 2003-11-15 19:37:54 -0400 |
---|---|---|
committer | unknown <vva@eagle.mysql.r18.ru> | 2003-11-15 19:37:54 -0400 |
commit | 194dbe1a9a53cd1b3f3614a8764f8c35587f70e0 (patch) | |
tree | 801856548762fcfd62043ae892e890c20326ac28 /scripts | |
parent | 75392a0d2e4c7f95fa1490fed8203c9f2ffbee48 (diff) | |
download | mariadb-git-194dbe1a9a53cd1b3f3614a8764f8c35587f70e0.tar.gz |
fixed bug #1650 "mysql_config --libmysqd-libs misses libwrap"
scripts/Makefile.am:
added processing of @WRAPLIBS@ in scripts
scripts/mysql_config.sh:
added @WRAPLIBS@ to embedded_libs option line
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 1 | ||||
-rw-r--r-- | scripts/mysql_config.sh | 2 |
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 |