Re: ax_lib_mysql.m4 and -as-needed flag

2010-10-30 Thread Ralf Wildenhues
Hello Sergio, * Sergio Belkin wrote on Mon, Oct 25, 2010 at 07:44:20PM CEST: I am using ax_lib_mysql.m4 in order to detect location of mysql libs, but the problem is that LD_FLAGS is a mixed if LD_FLAGS and LIBS: -rdynamic -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lssl

Re: ax_lib_mysql.m4 and -as-needed flag

2010-10-30 Thread Sergio Belkin
2010/10/30 Ralf Wildenhues ralf.wildenh...@gmx.de: Hello Sergio, * Sergio Belkin wrote on Mon, Oct 25, 2010 at 07:44:20PM CEST:  I am using ax_lib_mysql.m4 in order to detect location of mysql libs,    but the problem is that LD_FLAGS is a mixed if LD_FLAGS and LIBS:    -rdynamic

ax_lib_mysql.m4 and -as-needed flag

2010-10-25 Thread Sergio Belkin
I am using ax_lib_mysql.m4 in order to detect location of mysql libs, but the problem is that LD_FLAGS is a mixed if LD_FLAGS and LIBS: -rdynamic -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto The problem is that I want only link against mysqlclient, so I want to