Install mysql_config in STAGING_DIR/usr/bin
[openwrt.git] / package / mysql / patches / 750-mysql_config.patch
1 --- mysql-4.0.24/scripts/mysql_config.sh.orig 2005-03-05 01:38:14.000000000 +0100
2 +++ mysql-4.0.24/scripts/mysql_config.sh 2005-05-27 06:55:46.000000000 +0200
3 @@ -86,13 +86,13 @@
4
5 # Create options
6
7 -libs="$ldflags -L$pkglibdir -lmysqlclient $client_libs"
8 +libs="-lmysqlclient $client_libs"
9 libs=`echo "$libs" | sed -e 's; \+; ;g' | sed -e 's;^ *;;' | sed -e 's; *\$;;'`
10 -libs_r="$ldflags -L$pkglibdir -lmysqlclient_r @LIBS@ @openssl_libs@"
11 +libs_r="-lmysqlclient_r @LIBS@ @openssl_libs@"
12 libs_r=`echo "$libs_r" | sed -e 's; \+; ;g' | sed -e 's;^ *;;' | sed -e 's; *\$;;'`
13 -cflags="-I$pkgincludedir @CFLAGS@ " #note: end space!
14 -include="-I$pkgincludedir"
15 -embedded_libs="$ldflags -L$pkglibdir -lmysqld @LIBS@ @WRAPLIBS@ @innodb_system_libs@"
16 +cflags=" " #note: end space!
17 +include=""
18 +embedded_libs="-lmysqld @LIBS@ @WRAPLIBS@ @innodb_system_libs@"
19 embedded_libs=`echo "$embedded_libs" | sed -e 's; \+; ;g' | sed -e 's;^ *;;' | sed -e 's; *\$;;'`
20
21 # Remove some options that a client doesn't have to care about
This page took 0.041943 seconds and 5 git commands to generate.