[Issue 10555] When configuring from static libcrypto.a and libssl.a, it errors: can't find openssl. To fix openssl static linking, just add -lpthread to the linker.