[PATCH]: creating la files also for static libraries

David Faure faure at kde.org
Tue Oct 25 12:42:18 CEST 2005


On Tuesday 25 October 2005 12:35, Thiago Macieira wrote:
> Jarosław Staniek wrote:
> >> How about we don't generate .la files for anything at all?
> >>
> >> As I said some time ago, the only purpose I see for them is to track
> >> the dependencies from static libraries, which is a usecase I'd rather
> >> not see in KDE.
> >
> >Would be fine for me too. BTW, do you also think about removing
> > requirement for .la files in libltdl? In case of kdelibs3 ("qmake"
> > times) I was just copying .la files to win32 partition to make sure
> > KTrader can find KDE services. Maybe, in that case, .desktop files are
> > enough.
> 
> libltdl should be able to find the modules without the .la files, I hope.
> 
> KTrader should have a compile-time constant that sets the platform-defined 
> suffix for loadable modules (dll, so, dylib, etc.), so that it can check 
> whether the file pointed to by a .desktop file actually exists.

Misconception; KTrader doesn't care one bit about .la files.
It's KLibLoader that does.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).



More information about the Kde-buildsystem mailing list