Re: About libtool usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 03, 2010 at 11:38:00PM -0300, Sergio Belkin wrote:
> Hi,
> 
> I've read on http://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries
> 
> "Libtool archives, foo.la files, should not be included. Packages
> using libtool will install these by default even if you configure with
> --disable-static, so they may need to be removed before packaging. Due
> to bugs in older versions of libtool or bugs in programs that use it,
> there are times when it is not always possible to remove *.la files
> without modifying the program. In most cases it is fairly easy to work
> with upstream to fix these issues. Note that if you are updating a
> library in a stable release (not devel) and the package already
> contains *.la files, removing the *.la files should be treated as an
> API/ABI change -- ie: Removing them changes the interface that the
> library gives to the rest of the world and should not be undertaken
> lightly."
> 
> Does that mean that we should not use libtool? What if I'd want to
> build a shared library?
> 
Using libtool is perfectly fine.  It's just that when packaging the results
of building you want to remove the *.la files.

-Toshio

Attachment: pgpYzdCwx5Rx5.pgp
Description: PGP signature

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux