[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
-lcrypto
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 http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
- ax_lib_mysql.m4 and -as-needed flag,
Sergio Belkin <=