I was going to link a program statically with libcurl, libssl, libcryto. Then I found this behaviour.
If i link with -lssl, ldd shows that compiled binary depends on libssl.so shared object.
But if i link with libssl.a, ldd shows that compiled binary doesn't depends on that (This is what i wants).
The case is similar for libssl and libcrypto but not for libcurl.
I always thought/read before those are same(link options -lssl and libcurl.a). Can you please put some light on this or any tutorial about this?