Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

On Tue, Sep 11, 2012 at 09:24:30AM +0200, Stephan Bergmann wrote:
On 09/10/2012 06:55 PM, Matúš Kukan wrote:
I am pondering gbuildizing neon.
It's built by dmake as dynamic library currently.
Could it be used as static library ?
[...]
It's used only in ucb/Library_ucpdav1.mk

One gotcha with this logic of preferring a static over a dynamic
library when only used as a dependency of one other object is that
this requires us to keep track whether a library is used only once
or multiple times, to revisit the static vs. dynamic decision.

I guess we could issue a warning when a static library is used multiple
times. Of course, there are static libraries that are created explicitly
for that purpose, so we would either need a way to avoid these (a
whitelist of libs that are allowed to be linked with multiple times) or
limit this to static libraries from external projects (e.g., doing a
"registration" in gb_StaticLibrary_use_unpacked).

D.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.