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

Re: Confused by .la file removal vs static linking support



On Sun, May  2, 2010 at 11:46:23 +0100, Neil Williams wrote:

> (To actually statically link without the .la (or with an .la 'mangled'
> to empty the dependency_libs field) largely amounts to reconstructing
> the information that was in the .la originally. That should be
> sufficient disincentive to try to statically link at all. Hence, is it
> worth wasting archive space on the inevitably much larger .a files?)
> 
Static linking is resolved by providing a foo.pc file so that "pkg-config
--static --libs foo" is all that's needed to find the right libs.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: