libtool
[Top][All Lists]
Advanced

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

Splitting dependency_libs in *.la?


From: Axel Thimm
Subject: Splitting dependency_libs in *.la?
Date: Mon, 2 Oct 2006 13:51:58 +0200
User-agent: Mutt/1.4.2.2i

Hi,

dependency_libs contains the linker switches/arguments that this
library was built with including the dependent libs, both directly
references as well as indirectly references through intermediate libs.

For static linking one needs the whole dependency_libs information,
but for building against shared libs you only need a subset. This
leads to having more build dependencies than neccessary in a
shared-libs only build. As a consequence some distributions decided to
remove all *.la files to keep build dependencies down. This is of
course not really a solution.

Can this be somehow dealt with within libtool? It would need to fork
the semantics of dependency_libs into static vs shared libs or
something similar. I guess the difficult part is identifying what
parts of dependency_libs are needed for a shared build against this
library.

Thanks!
-- 
Axel.Thimm at ATrpms.net

Attachment: pgpLdAEQPV73a.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]