Commit 710d4f14 authored by unknown's avatar unknown

added support for --libs_r

parent 619c0d89
...@@ -86,6 +86,8 @@ client_libs='@CLIENT_LIBS@' ...@@ -86,6 +86,8 @@ client_libs='@CLIENT_LIBS@'
libs="$ldflags -L'$pkglibdir' -lmysqlclient $client_libs" libs="$ldflags -L'$pkglibdir' -lmysqlclient $client_libs"
libs=`echo $libs | sed -e 's; +;;'` libs=`echo $libs | sed -e 's; +;;'`
libs_r="$ldflags -L'$pkglibdir' -lmysqlclient_r $client_libs"
libs_r=`echo $libs_r | sed -e 's; +;;'`
cflags="-I'$pkgincludedir'" cflags="-I'$pkgincludedir'"
embedded_libs="$ldflags -L'$pkglibdir' -lmysqld @LIBS@ @innodb_system_libs@" embedded_libs="$ldflags -L'$pkglibdir' -lmysqld @LIBS@ @innodb_system_libs@"
...@@ -95,6 +97,7 @@ Usage: $0 [OPTIONS] ...@@ -95,6 +97,7 @@ Usage: $0 [OPTIONS]
Options: Options:
--cflags [$cflags] --cflags [$cflags]
--libs [$libs] --libs [$libs]
--libs_r [$libs_r]
--socket [$socket] --socket [$socket]
--port [$port] --port [$port]
--version [$version] --version [$version]
...@@ -109,6 +112,7 @@ while test $# -gt 0; do ...@@ -109,6 +112,7 @@ while test $# -gt 0; do
case $1 in case $1 in
--cflags) echo "$cflags" ;; --cflags) echo "$cflags" ;;
--libs) echo "$libs" ;; --libs) echo "$libs" ;;
--libs_r) echo "$libs_r" ;;
--socket) echo "$socket" ;; --socket) echo "$socket" ;;
--port) echo "$port" ;; --port) echo "$port" ;;
--version) echo "$version" ;; --version) echo "$version" ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment