[PATCH]: creating la files also for static libraries

Thiago Macieira thiago at kde.org
Tue Oct 25 12:35:23 CEST 2005


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.

Aside from that, the .la files are a convenience for the build system, in 
that they can check for a library's existence by verifying that the .la 
file exists: in that case, we could have empty .la files just to tag, but 
I wouldn't want them to be installed or have any content.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20051025/0ca153d5/attachment.pgp


More information about the Kde-buildsystem mailing list