[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ax_lib_mysql.m4 and -as-needed flag

From: Sergio Belkin
Subject: ax_lib_mysql.m4 and -as-needed flag
Date: Mon, 25 Oct 2010 14:44:20 -0300

 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
   The problem is that I want only link against mysqlclient, so I want to
   add "--as-needed" be honored, how can I do that?

Thanks in advance!

Sergio Belkin
Watch More TV
Sergio Belkin -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]