xz: change to new library paths
[unleashed-userland.git] / components / apr-util / patches / mysqlconfig-sunstudio-workaround.patch
blobdf8717984702abf68909224db9b248bff55fbbbd
1 --- build/dbd.m4.orig 2013-07-16 12:08:35.699891023 +0400
2 +++ build/dbd.m4 2013-07-16 12:16:13.267331539 +0400
3 @@ -169,8 +169,8 @@
4 AC_PATH_PROG([MYSQL_CONFIG],[mysql_config])
5 if test "x$MYSQL_CONFIG" != 'x'; then
6 mysql_CPPFLAGS="`$MYSQL_CONFIG --include`"
7 - mysql_LDFLAGS="`$MYSQL_CONFIG --libs_r | sed -e 's/-l[[^ ]]\+//g'`"
8 - mysql_LIBS="`$MYSQL_CONFIG --libs_r`"
9 + mysql_LDFLAGS="`$MYSQL_CONFIG --libs_r | sed -e 's/-l[[^ ]]\+//g' -e 's:-L/opt/SUNWspro/lib::g' -e 's:-lCrun::g'`"
10 + mysql_LIBS="`$MYSQL_CONFIG --libs_r | sed -e 's:-L/opt/SUNWspro/lib::g' -e 's:-lCrun::g'`"
12 APR_ADDTO(CPPFLAGS, [$mysql_CPPFLAGS])
13 APR_ADDTO(LIBS, [$mysql_LIBS])