Michael Matz escribió:
But you should go to great lengths to make it happen, including bitching to other package maintainers, those might be the reason why "your" .la can't go away.
Been there, done that ..painful experience. ;-)
Amongst the problems they create are (despite their total uselessness for shared libraries in ELF systems): 1) hardcoded dependency libraries (no matter if necessary or not)
getting compiler to call ld with --as-needed by default while linking "solves" this, but Im afraid that may open pandora's box and show some issues not-quite-easy to fix ...
2) hardcoded paths (link-time or run-time) for search paths to libraries, again no matter if necessary or not, those often have to be fixed up during package build time
unneded hardcoded paths at runtime can be detected and fixed by using brp-check-rpath that is used in fedora, which is (or was) quite strict last time I checked... In short, do not package *.la files _unless_ you receive a bug report that the package breaks at runtime, if dependent packages fail to build due to the lack of "la" files, you have to fix those, NOT restore "la" files. good luck :-P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org