[Fedora-packaging] Re: libtool(.la) archive policy proposal

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Thu Oct 12 22:21:23 UTC 2006


Alexandre Oliva <aoliva at redhat.com> writes:

>>> Revisting the root of evil. What exactly is wrong with not removing
>>> all *.la files?
>
>> - .la files must be shipped in main package, not in -devel
>
> Only if users of the library rely on libltdl and explicitly refer to
> the .la files.

no; when some package contains a dynamic loadable module with .la
files, this .la file will be used for dependency resolving. When such
a dependency is expressed as

| dependency_libs='...  /usr/lib/libkickermain.la ...'

'libkickermain.la' must be a main package but not in -devel.

Because a library can be linked against arbitrary .la modules, a library
must either remove .la files completely or ship them in the main package.



Enrico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20061013/bbf59ede/attachment.sig>


More information about the Fedora-packaging mailing list