-Wl,--as-needed

Adriaan de Groot groot at kde.org
Sat Apr 23 23:35:00 BST 2005


On Sunday 24 April 2005 00:00, George Staikos wrote:
> Does anyone know if there's a problem with SuSE 9.2's ld or gsl packages? 
> Or can we come up with a solution to optionally remove that flag?

The issue is partly that libgsl and libgslcblas (and every other non-base-OS 
dependency) live in /usr/local/lib on FreeBSD, which makes 
--with-extra-libs=/usr/local/lib pretty-much mandatory to compile KDE there. 
The extra-libs end up in $(all_libraries), so whenever a dependency library 
isn't found, it's the fault of a missing $(all_libraries) 95% of the time. So 
I added it, and it causes problems for George.

One fix would be to drop $(all_libraries) (since it causes problems when it 
contains --as-needed for George) and to instead append something that is less 
caustic -- like just the passed-in extra-libs. But how?libfli-usb-sys-bsd.c


-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot




More information about the kde-core-devel mailing list