SOURCES: ulogd-mysql.patch (NEW) - fixed `mysql_config --libs` out...
Tomasz Pala
gotar at polanet.pl
Wed May 16 01:55:37 CEST 2007
On Tue, May 15, 2007 at 11:13:19PM +0200, Jakub Bogusz wrote:
> > > >
> > > > +- 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.
I thought so, but didn't want to touch mysql and break sth else. If so
it's enough to remove $ldflags - I've commited but not tested this (no
place to rebuild mysql).
> > > > +- 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?
Me neither;]
However there is AC_CHECK_LIB(dl, dlopen), so maybe they are aware. Are
or were, as ulogd 1.x is dead for 16 months now.
--
Tom Pala <gotar at pld-linux.org> http://vfmg.sourceforge.net/
http://tccs.sourceforge.net/
More information about the pld-devel-en
mailing list