[gnutls-devel] Automatic library initialization

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Nov 16 17:24:29 CET 2015


On Mon, Nov 16, 2015 at 4:54 PM, Tim Ruehsen <tim.ruehsen at gmx.de> wrote:
>> Something like the following. Have each program not wishing to use
>> global initialization to define a symbol which overrides a weak one
>> from gnutls. In practice that would mean setting:
>> GNUTLS_SKIP_GLOBAL_INIT
>> in some global section in your program. That can also be easily
>> backported in 3.3.x and you can check for that feature with an ifdef.
>> Would that be acceptable?
> Brilliant idea. I'll use it for my projects... but other projects won't
> benefit immediately (they first have to know).

I'll then include it in 3.4.x and 3.3.x releases.

regards,
Nikos



More information about the Gnutls-devel mailing list