[gnutls-devel] [PATCH] Define _gnutls_file_mutex in gnutls_global.c instead of in verify-tofu.c

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Jan 21 18:39:11 CET 2013


On 01/21/2013 03:00 PM, Martin Storsjo wrote:


> It seems that the linker fails to pull in verify-tofu.o to satisfy
> the undefined reference to _gnutls_file_mutex.o in gnutls_global.o
> unless gnutls_global.o (or any other object file in the link) also
> calls functions that pulls in verify-tofu.o. Since gnutls_global.o
> always is linked in, but verify-tofu.o can be left out unless someone
> calls the functions in it, defining the mutex in gnutls_global.c makes
> sense and simplifies the dependencies.


Applied. Thanks.




More information about the Gnutls-devel mailing list