SOURCES: ulogd-mysql.patch (NEW) - fixed `mysql_config --libs` out...

Jakub Bogusz qboosh at pld-linux.org
Tue May 15 23:13:19 CEST 2007


On Tue, May 15, 2007 at 10:46:51PM +0200, Tomasz Wittner wrote:
> On Tue 15. of May 2007, 18:08, Jakub Bogusz wrote:
> > On Tue, May 15, 2007 at 03:30:20PM +0200, gotar wrote:
> > > Author: gotar                        Date: Tue May 15 13:30:17 2007 GMT
> > > Module: SOURCES                       Tag: HEAD
> > > ---- Log message:
> > > - fixed `mysql_config --libs` output handling for strings and linker
> > >
> > > +-        MYSQLLIBS=`$d/mysql_config --libs`
> > > ++        MYSQLLIBS=`$d/mysql_config --libs | sed 's/-Wl,--as-needed //'`

Not here. These -Wl,* or -s must disappear from --libs output.

> > > +-	MYSQL_FUNCTION_TEST=`strings ${MYSQLLIBS}/libmysqlclient.so | grep
> > > mysql_real_escape_string` ++	MYSQL_FUNCTION_TEST=`strings $(echo
> > > ${MYSQLLIBS} | grep -m 1 -o -- '-L/[[^ ]]*/ ' | sed 's/[[-L
> > > ]]//g')/libmysqlclient.so | grep mysql_real_escape_string`

Oh #@%@%. They don't know about AC_CHECK_LIB?

> AFAIR Gotar wypisał się z pld-devel-pl po jakimś tam flejmie. Za to 
> subskrybuje pld-devel-en .

So trying on -devel-en.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list