summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-11-18 18:54:27 +0200
committermonty@mashka.mysql.fi <>2003-11-18 18:54:27 +0200
commita47d56088f15618158701c7d480c54551ae89603 (patch)
tree21a08cbc0f6aecfbbbf13d5cac0d19bc67952322 /scripts
parentb60aea40588c02a531c8f62c20bf6472c90870b6 (diff)
parent2846a16c57bff1cd22811656ad4a434f9342e5e8 (diff)
downloadmariadb-git-a47d56088f15618158701c7d480c54551ae89603.tar.gz
Merge with 4.0 tree
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 48592d2ff00..037adc64d39 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -120,6 +120,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