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
-- 
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to