Alexandre Oliva <aoliva(a)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