ged / ruby-pg

A PostgreSQL client library for Ruby
Other
796 stars 180 forks source link

Enable thread safety in static OpenSSL build #598

Closed larskanis closed 3 days ago

larskanis commented 3 days ago

This is disabled by default due to the -static option. The thread doesn't work with -static, that's why it is enabled by -DOPENSSL_THREADS. The thread functions are used in libcrypto.a and libssl.a but only defined in libssl.a.

Fixes #595