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
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
10-04-2010, 12:09 PM
Sergio Belkin
About libtool usage
2010/10/4 Toshio Kuratomi <a.badger@gmail.com>:
> 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
>
> --
Thanks Toshio for the answer!
--
--
Sergio Belkin http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging