[openssl-dev] Self-initialization of locking/threadid callbacks and auto-detection of features

Nico Williams nico at cryptonector.com
Mon Jun 15 17:20:24 UTC 2015


Hmm, another option is to use weak symbols to detect presence of
pthreads.  This should work regardless of whether static or dynamic
linking is used.

A statically-linked, single-threaded program that dlopen()s an object
that brings in libpthread will have different OpenSSL dependencies for
the dynamically-loaded objects than for the initial statically-linked
program.  So everything should work out.

Nico
-- 


More information about the openssl-dev mailing list