patch: c/cxxflags for static libraries
Thiago Macieira
thiago at kde.org
Tue Jul 18 21:00:20 CEST 2006
Simon Hausmann wrote:
>On Sunday 16. July 2006 20:31, Thiago Macieira wrote:
>[...]
>
>> If you add a .o that happens to be in an ar archive into a shared
>> library, you've got a convenience library, not a static library. In
>> those cases, just link the .o once and for all. There's no need to
>> create the archive.
>
>Yes, but as long as the build system offers this feature people will use
> it. So I suggest that we either drop the feature alltogether or we use
> -fPIC there as well. But offering it as feature that only works on i386
> when linked into a final shared object is not a good idea IMHO.
I agree: it shouldn't allow you to link a static library to a shared
library.
Problem solved.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060718/2afdb4e1/attachment.pgp
More information about the Kde-buildsystem
mailing list